Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
3
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~7K People Reached
Favorite Tags
c++ x 8
c x 6

7 Posted Topics

Member Avatar for Dani

[QUOTE=cscgal]Can someone please explain to me the difference between ++i and i++ when written as part of an expression (i.e. within loops and if statements) ? Thanks :)[/QUOTE] i++: do the calculation or do the comparison before the i's value is increment. ++i: increment the i's current value by 1 …

Member Avatar for WaltP
0
661
Member Avatar for lara_

Hi, The problem is that we need to clear the input buffer before using gets() because gets() read anything in the input buffer until it encounters a new line or return character. Although it works correctly, it is unsafe to use gets() if the input is bigger than the array …

Member Avatar for Narue
0
2K
Member Avatar for tlee

Hi all, Could anyone help me about returning the array from a function? I believe that it is a syntax error (compile time error) to return an array from a function, but one book mentions briefly that using pointer will solve the issue. However, my current knowledge does not allow …

Member Avatar for Ancient Dragon
3
2K
Member Avatar for Merrissey

Hi Dave, What is the %n used for in sscanf(ptr, "%3d%n", &value, &i)? Thanks.

Member Avatar for Dave Sinkula
0
241
Member Avatar for A Monkeys Uncle

It cannot compare between C++ and Calculus because they are different subject. Learning C++ takes years to understand and to master the subject. One might think that learning C++ is boring. In my opinion, learning software engineering concepts and programming language, such as C++ is my passion. Definitely, mathematics helps …

Member Avatar for Killer_Typo
1
2K
Member Avatar for kaushik

Math part of computer science hard? It depends on your potential and the applications you are working on. If you write programs involved with graphics, then it might require some calculus and linear algebra (vector). In general, you have to be good with logics (Dicrete mathematics). If you like logic, …

Member Avatar for Cool_Tori
0
127
Member Avatar for tlee

Hi all, What should I write for function signature in order to return this 6X6 array without compiler error? I tried to use `int* getGraph()`, but it did not work. Thanks for your help. int[6][6] getGraph() { int graph[6][6] = { {0, 5, 10, -1, -1, -1}, {-1, 0, -1, …

Member Avatar for tlee
0
173

The End.