Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #20.4K
Ranked #4K
~2K People Reached
Interests
Programming, Mathematics, Physics, having fun with my friends.
PC Specs
Debian Linux, 2.8 GHz Duo
Favorite Forums
Favorite Tags

6 Posted Topics

Member Avatar for DOT6

Well, I don't know if it's too complicated for this project, but as for the graphics part, you could use OpenGL. It's portable and efficient. (Here's a link to a good book about OpenGL: [url]http://www.amazon.com/OpenGL-Programming-Guide-Official-Learning/dp/0321552628/ref=sr_1_2?ie=UTF8&qid=1309967373&sr=8-2[/url]). As for the movement part.. that depends on your rendering library, but with OpenGL, you …

Member Avatar for DOT6
0
274
Member Avatar for kagotsky

Or, maybe, in a more C++-ish way: [CODE] #include <iostream> int main() { ... // your code here std::cin.get(); } [/CODE]

Member Avatar for renish khunt
0
171
Member Avatar for sagar d

Uh, perhaps you'd like to share the code? [QUOTE]but if i copy the program in a note pad,how do i save it as a .cpp file so that i can open it using c? n m really sry 4 u master roshi,wish u get a better gal next time[/QUOTE] The …

Member Avatar for imkj
-1
233
Member Avatar for dany12

'ch' is not defined in the code. But, it's a character. It'd look like this: [CODE] #include<stdio.h> int main() { int nr_products, nr_prices, price, over10=0; char product[40]={'\0'}; char ch = ''; printf("Enter the number of products"); scanf("%d",&nr_products); getchar(); printf("Product:");//enter the product fgets(product, sizeof(product), stdin); printf("Price:");//enter price scanf("%d",&price); getchar(); for(i=0; i<nr_products;i++) …

Member Avatar for dany12
0
133
Member Avatar for skiabox

Well, it'd look more like this: #include <stdio.h> int minimum (int values[]); int mimimum (int values[]) { int minValue, i; minValue = values[0]; for (i = 1; i < 9; ++i) /* Index starts at zero, zo 10 - 1 = 9 indexes. */ if (values[i] < minValue) minValue = …

Member Avatar for skiabox
0
102
Member Avatar for wraph

The kernel was - originally - made in C++. Lower-level systems, such as system drivers, use C. Also, many core files (like the user interface!) were also made using C++, due to it being object-oriented. Our own Billy just worked on BASIC, and reviewed some code, but after BASIC his …

Member Avatar for jwenting
0
636