- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 4
- Posts with Downvotes
- 1
- Downvoting Members
- 4
4 Posted Topics
Hey LogicsLab, You can easily solve this problem, DEV-C++ do support graphics.h with a 24-bit color mode, Ive developed many apps using that, first : Download "graphics.h" and "libbgi.a" from : [URL="http://www.cs.colorado.edu/~main/bgi/dev-c++/"]http://www.cs.colorado.edu/~main/bgi/dev-c++/[/URL] Second: Make a new console Application from File->New->Project Third: Copy both the downloaded files into the location where …
Dude, u r doin it whole wrong for example: [CODE] first_digit=input_number/=10;// Change this to first_digit=input_number/10;(no /=10) [/CODE] Now [code] switch (second_digit) { case '0': cout << "ten"; break; case '1': cout << "eleven"; break; . . . [/code] case '0': means that you want to judge some CHARactor not an …
please clearly tell your problem while if you mean a "factorial Finding" program , you have it! give different arguments to "fact() " function to have different factorials [CODE] #include <cstdlib> #include <iostream> using namespace std; int fact(int n) { if(n>1) return n*fact(n-1); else if(n==1 || n==0) return 1; } …
Hey Guys, i was just searching for "POINTERS TO STRINGS" , i am having a graphics project for which what i need was to convert from pointer to string , because in graphics you can only display strings. On the internet , i was unable to find the right solution …
The End.
sdeez_alpha