Beginners - March 2013 (Page 53)

Help understanding the switch() and how to fit it into a math generator.
 
I previously made a program that just generates two random numbers, and the user must add them toget...
[4 replies] Last: What is the enum? In this case the enum (or enumeration) is just a w... (by cire)
ASM function in C
 
Hello! I want to create function that returns the position of an element found in an array. If th...
[16 replies] Last: Taking your original find loop, I got the following with VS2010. ;... (by AbstractionAnon)
What's wrong here?
 
Something is wrong with this function, the change is always 0 no matter what. How can I fix this? ...
[1 reply] : Line 42 is an assignment. To compare use ==. (by maeriden)
Algorithmic Analysis, Help With Timer Class
 
Hi I am having trouble getting my timer class to properly output the correct duration of time. I hav...
[1 reply] : bump, going crazy any assistance would be greatly appreciated! (by busturdust)
Where to start
 
So, I want to learn C++ the right way, and by that I mean I don't want to just blindly dive right in...
[9 replies] Last: I'm using this http://www.uow.edu.au/~nabg/ABC/ABC.html (and the C++ p... (by willf)
Would like some direction with Time of Day program
 
First off, Hi to everyone I am brand new on this forum. I was hoping some of you code geniuses migh...
[no replies]
Need Help With Assignment Due Today Almost Got it
 
Write a program that selects a secret random number between 0 and 99. Then it repeatedly asks the u...
[2 replies] Last: Thanks a lot it worked!!!! (by mrtyson86)
did anyone know gelosia multiplication
 
hi. can you guys teach me some algo about it? about gelosia. or reference on it, i know how to...
[2 replies] Last: @Yanson. did u see what i said just now? i know how to do on paper. b... (by Felicia123)
Need Help With Assignment Due Today
 
Write a program that selects a secret random number between 0 and 99. Then it repeatedly asks the u...
[3 replies] Last: ok im almost there i kinda got it but the program should end after i g... (by mrtyson86)
This may take your time || aww come onn ?
 
This is a question about my precious homework.. First I call Which function with the parameter "t...
[7 replies] Last: The second part sort of was. To get the program to finish when the us... (by freddy92)
Error: expected primary-expression before ')' token
 
I am not sure why I am getting this error? Private data in this class is Card TheCards and int num...
[1 reply] : I think I just figured this out - I need to call setNumCards, not setC... (by badkaykay)
New help ASAP HW due today.
 
Here is the problem: "Write a program that asks the user to enter a number. Then it outputs the mu...
[5 replies] Last: I got it Thanks!!! have another one which is a bit harder than this on... (by mrtyson86)
overloaded function is ambigious
 
I'm trying to code a template that will sort elements (whether int or double, etc). The sort somewhe...
[3 replies] Last: Also, why is your temp a pointer to T in the swap function? That feels... (by Zhuge)
by fx11
Next step ??
 
I have read and practiced through the C++ Language Tutorial of this site: http://www.cplusplus.com/...
[2 replies] Last: Zereo thanks for your answers I feel so that I understand the very ba... (by fx11)
by willf
Sorting structs
 
In order to become familiar with structs, I'm trying to write a program that will input an unordered...
[no replies]
by Daleth
Initializing an array within a map container
 
Is there a method to initialize an array within a map container like this: //... map <string,...
[4 replies] Last: Thanks for the suggestion. Luckily, after updating my compiler, //.... (by Daleth)
Adding values to an existing array
 
Hi, I'm creating a program that requires values to be added to a existing array. eg. The user initi...
[1 reply] : Best way is to use dinamically sized container as std::vector : http:... (by MiiNiPaa)
getting a seg fault, first time with classes and pointers
 
my code is seg faulting and im not sure whats causing it. i thought it was the pointers not being de...
[8 replies] Last: and thank you so much for that fix :) i was trying to delete them all ... (by Sean Kemper)
by lmsmi1
XML Parsing
 
I'm sure this has been asked before, but I can't find a thread similar to this one. Say I have an X...
[6 replies] Last: Well since it seems so hard to parse XML, what would be a better langu... (by lmsmi1)
by willf
Problem with switch
 
Hi guys, This is my first post here... and my first (non-hello world) program of any kind. I'm ru...
[3 replies] Last: If the user enters "nksw" and a char is expected, it will just take th... (by TheIdeasMan)
March 2013 Pages: 1... 5152535455... 87
  Archived months: [feb2013] [apr2013]

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