Beginners - December 2012 (Page 14)

by dctrd
beginner question
 
Hey guys,I've been learning C++ for about a week from here and there,but want to start focused and r...
[1 reply] : This should help http://stackoverflow.com/questions/388242/the-definit... (by closed account 3qX21hU5)
What's wrong with my code?
 
I am beginning programming in C++ and I wrote this simple program. It's a game where you have a cann...
[4 replies] Last: Further to Chervil 's post: There are a number of your variables tha... (by TheIdeasMan)
Deleting/Replacing an element from an array
 
I'm making a program that takes in names, and lists them. For example; sNames = "Bob"; sNames ...
[2 replies] Last: Anyway I suggest using vectors, not arrays. Vectors have methods that ... (by Marcos Modenesi)
C++ questions
 
The following code segment is supposed to write out the even numbers between 1 and 15 Int n; N...
[10 replies] Last: I knew it was a stupid question. (by closed account 18hRX9L8)
Paint in C++
 
Hello guys. I am doing BS-CS and right now I am studying object oriented programming. We are given a...
[4 replies] Last: I've done very little GTK so help from me would be null I'm afraid sor... (by masterofpuppets690)
Pointers
 
Hello, My course ended and the next chapter was on pointers. I always get on this site and see poi...
[2 replies] Last: ok thx (by jlillie89)
For Loop to While Loop
 
for (int i=2; i<=100; i=i+3) cout << i << "\n"; Im trying to write this as a while loop but i...
[9 replies] Last: Ya, what I wrote was just a little more compact way of saying what you... (by Raezzor)
Allegro 5 Sound Class
 
I'm building a class to store sound files and allow them to be played. I am "trying" to store the s...
[1 reply] : I found a work around. If anyone else has a similar issue, my working... (by HellfireXP)
How to pass variable(queue) in function by reference C++
 
Hi, I'm trying to simulate a movie theater program where customers enter the theater, wait on line, ...
[2 replies] Last: I tried implementing it, and it works great. Thanks :) (by mongie52)
Hey guys!
 
Hi everybody :) I just started learning C++ since yesterday when I received my C++ primer fifth edit...
[1 reply] : At the end of the 2 if test expressions you added semi-colons. Those a... (by Raezzor)
c++ help
 
hi,,, i have one question about programing in c language:i must make the function which must calcula...
[9 replies] Last: oo my friend ,,,, look this, if you can do it for me ,, i dont know ,,... (by fanatikos)
by hasak
Delay
 
how can I set short delay when program is running ? e.g. print "processing..." and pause program ...
[4 replies] Last: In standard C++, it's std::this_thread::sleep_for(std::chrono::second... (by Cubbi)
PlaySound() sequence
 
Hi all I have my code here : int main(int argc, char* argv ) { PlaySound("C:\\Users\\Comman...
[6 replies] Last: Thanks Chervil. Your code actually played for me with a much shorter p... (by MartinMH)
by tribe
Divide and conquer counter.
 
Hey guys i've got a problem. My code should count how many times number 2 occur in "tab" array. I ha...
[4 replies] Last: above one given by cire is a good example of a recursive program. usi... (by ahmad khan)
by ronni
beginner
 
hi, i am a newbie in programming and i am starting to learn C++ from the book "Jumping into C++" by...
[1 reply] : You can discuss problems you are encountering here in the forum.:) (by vlad from moscow)
Project Euler Problem 3
 
I keep getting an error but I think its a stupid mistake which I cannot find o.o just started so... ...
[no replies]
How to use timer in traffic light that use sensors?
 
by using c++ windows form,how to use timer in traffic light that use sensors ,where in each cycle th...
[3 replies] Last: ah ok your using visual C, I don't think I can be much help, I do reco... (by SamuelAdams)
Code is not working
 
This code is supposed to find the remainder of a very large number, then show the number that was di...
[4 replies] Last: Fixing line 19 as I said and line 17 as vlad said should work for you,... (by chucthanh)
C language
 
this is my question: how to make function which must calculate and return the sum of "m" members of ...
[2 replies] Last: double Fun( unsigned m ); { double sum=1/(1*3)-1/(3*5)+1/(5*7)-...+-1... (by Awais Tahir)
Array 2D and pointer
 
Hi all, I have been stuck with wondering about the difference between double** px and double...
[8 replies] Last: Oh yes, but my boss uses C (not C++), so I should use something meanin... (by chucthanh)
December 2012 Pages: 1... 1213141516... 65
  Archived months: [nov2012] [jan2013]

This is an archived page. To post a new message, go to the current page.