User Profile

Collapse

Profile Sidebar

Collapse
MyRedz
MyRedz
Last Activity: Jan 12 '10, 04:17 PM
Joined: Jan 16 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • MyRedz
    replied to help I have an exm tommorow
    in C
    you can also use stacks and queues
    there are in the data structure part of c++
    See more | Go to post

    Leave a comment:


  • well thanks.
    can it be more specific
    does sudoku solver use
    linked lists??or binary trees??
    please elaborate please
    See more | Go to post

    Leave a comment:


  • help anyone don't want to share his ideas?
    See more | Go to post

    Leave a comment:


  • can anyone suggest me a good topic for database structure and algorithm design

    hi i just got into my first class and the prof already ask me to suggest a project for database structure and algorithm design
    can anyone suggest me some topics that i can make into a project like
    search engine or poker?
    i need many suggestions thanks
    See more | Go to post

  • MyRedz
    started a topic need help on this inheritance problem about phones..
    in C

    need help on this inheritance problem about phones..

    hi all.
    i am just starting doing this idea of inheritance handphones of oop c++..
    but this uml diagram below got some weird symbols like
    inbox:string[N*]
    mms_inbox:image[N]
    what is it?
    it sure is not c++..
    any guide help to my questions..
    below the uml is my handwritten coding from uml to brief c++...
    is my coding ok?
    can it be compilable?
    even i have my doubts looking at...
    See more | Go to post

  • MyRedz
    replied to problem with Converter in C..
    in C
    anyone here to help me errors??
    See more | Go to post

    Leave a comment:


  • MyRedz
    replied to problem with Converter in C..
    in C
    well here goes my coding..any way to improve it?
    i done with the unit.dat file which contains
    measurement ,abbreviation, classes and it's value.
    i use linear search...
    any methods to make it more neat,tidy..?
    anyway there are some errors that i tried but couldn't correct it..
    is it possible to make the fscanf simple without the function prototype???
    Code:
    #include<stdio.h>
    #include<string.h>
    ...
    See more | Go to post

    Leave a comment:


  • can u show us your complete coding??
    See more | Go to post

    Leave a comment:


  • MyRedz
    replied to problem with Converter in C..
    in C
    well now the search file until not found or error..
    is a if statement right?
    so do i have to use a binary search like this??
    is it possible??
    can i use it??/

    Code:
    int binary search(int arr[],int size,int target)
    
    {
    
    int middleposition;
    int middlevalue;
    int result = -1;
    int low = 0;
    int high = SIZE - 1;
    while(result == -1&& low <=
    ...
    See more | Go to post

    Leave a comment:


  • MyRedz
    replied to problem with Converter in C..
    in C
    well here is my incomplete coding..i dunno how to get the file until error is found...in my first post..
    stuck hard at point 3 and 4
    where we have to encounter error..



    the unit.dat
    is
    Code:
    kilometers km distance 1000
    yards yd distance 0.9144
    meters m distance 1
    quarts qt volume 0.94635
    liters l volume 1
    gallons gal volume 3.7854
    milliliters ml
    ...
    See more | Go to post

    Leave a comment:


  • MyRedz
    replied to problem with Converter in C..
    in C
    can i know the ways of acessing the arrays in my structure??
    i want to use it in my calculations... .......
    like
    struct unit
    {

    float value[10];
    char unit[10];
    char measurement[10];
    }

    how to access it from the main??
    is it using pointers but how to call individually?
    See more | Go to post

    Leave a comment:


  • a simple question about do while statement and choice options

    i want to do a program that requires user to input float numbers,charact ers like this
    Code:
    printf("please enter the value with its SI unit...");
    scanf(" %lf %c",&value,&si);
    but then there is an escape statement thats says or q to quit ..
    so i assume it needs units or character to quit...
    but then how to integrate it with my normal asked input like the first..

    ...
    See more | Go to post

  • MyRedz
    replied to problem with Converter in C..
    in C
    miles mi distance "value"


    may i know what use is miles and distance?
    both of them have the same value...
    i don't get the idea..is it for one way conversion??
    See more | Go to post

    Leave a comment:


  • MyRedz
    replied to problem with Converter in C..
    in C
    the problem is i don't understand my question ..
    well my question is like this


    the the ALGORITHM)

    about loading units of measurement database do we need to fscan database from a unit.dat or just do
    define a structure type that groups all relevant attributes about one unit..

    examples of unit is
    miles mi distance 1609.3
    kilometers km distance 1000
    yards yd distance...
    See more | Go to post

    Leave a comment:


  • MyRedz
    started a topic problem with Converter in C..
    in C

    problem with Converter in C..

    can anyone here show me some examples of converter like Currency converter or
    universal measurement converter...i tried to search but no working example..
    See more | Go to post

  • thanks for the reply..i was just experimenting if it is possible..well
    i am trying the hard way i guess.will inform ya if this code conversion works..
    See more | Go to post

    Leave a comment:


  • Need help about changing typedef in structures..C programming help

    hi mate..
    i want to change my struct text in
    Code:
    typedef struct{double r;
    double i;} COMPLEX;
    assume i want to change it to normal one without the typedef thing and do it like this
    Code:
     struct COMPLEX
    {double r;
    double i;};
    ]


    now i got errors when i want to convert my codes here...
    can anyone help me if i want to change the first to the second in my following codes...
    See more | Go to post
No activity results to display
Show More
Working...