you can also use stacks and queues
there are in the data structure part of c++
User Profile
Collapse
-
well thanks.
can it be more specific
does sudoku solver use
linked lists??or binary trees??
please elaborate pleaseLeave a comment:
-
-
MyRedz started a topic can anyone suggest me a good topic for database structure and algorithm designin Ccan 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 -
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... -
-
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>
Leave a comment:
-
-
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 <=
Leave a comment:
-
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
Leave a comment:
-
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?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);
so i assume it needs units or character to quit...
but then how to integrate it with my normal asked input like the first..
... -
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??Leave a comment:
-
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...Leave a comment:
-
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.. -
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..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;
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...
No activity results to display
Show More
Leave a comment: