Beginners (Page 56)

PASSING COMMAND LINE ARGUMENTS
 
Write your question here. I passed Hello World as the command argument using the Debugger. My outp...
[4 replies] Last: Thank you very much. (by phztfte1)
passing string variable into char Array
 
I have program where i have to check to see if file exist, if it does not then it needs to be create...
[9 replies] Last: I resolved it, This code works //Create a file, append to it, and r... (by dariusd7)
help with this function please
 
Im tryint to write a program that lists each individual digit of an integer and then take the sum of...
[1 reply] : Remove the return type when you actually call the function. int d... (by wildblue)
.eof infinite loop help
 
so im trying to read an unspecified amount of data from a file. I tried using the .eof function to e...
[1 reply] : http://www.parashift.com/c++-faq/istream-and-eof.html (by ne555)
by swrowe
I need help display the number of matching values of two arrays, help would be very much appreciated.
 
The computers suppose to pick 5 random numbers and they get stored in an array. The user is also sup...
[no replies]
by nkama
change value for 2d array from input file and write the changed value into output file
 
Hello! I'm a new with this programming. Currently, I am working with 2D array from input file, an...
[no replies]
by zwilu
Lists...
 
//sorry i am trying to create a list using a pointer to the next struct //PROBLEMS: //with dev-cpp...
[7 replies] Last: Thank you to y'all! It s of course of the line 65, because I am alloca... (by zwilu)
by KREB
C++ programs that deals with loops, I need major help!!!!!
 
I'm trying to write a C++ program for my CSCI class that will allow a user to input a number from th...
[2 replies] Last: Then using a loop, that will perform 10 times If there's a set numb... (by wildblue)
Problems with choice loop
 
I'm working on a simple card game program that I want to display all player's cards and the deck whe...
[2 replies] Last: Thank you. I'm using the same code at several places throughout my pro... (by Kigali1)
Breaking out in loops
 
Alright, I am really new and I don't know how to properly negotiate break outs. The below code i...
[1 reply] : I figured it out. For reference: I removed my "break;" statements a... (by Bluebaron)
Deletings leaves with a certain value
 
I am trying to delete a leaf with a certain value from a binary tree. However when I delete the node...
[1 reply] : What happens if you change line 15 from if to else if ?... (by long double main)
Problem Returning Calculated Value
 
I'm trying to get through an assignment and I'm a little lost on the two parts. The homework assignm...
[3 replies] Last: If you want the function to update values of variables declared in the... (by wildblue)
Prime numbers below 25
 
Hi all! New to programing and to this forum. Hoping to get some feedback on my code. I want to fi...
[12 replies] Last: Think I got it...thanks for all the help! (by Tulips725)
String Code??
 
I am trying to create a code where when day or night is entered, the program will tell you if you ar...
[2 replies] Last: Thank you so much for your help! It's all squared away! (by liz510019)
by dayan1
Prime number function
 
I am writing a code for asking a user for a number between 3 and 100, and determining if its prime. ...
[3 replies] Last: What i meant is that isprime(num) should loop through all numbers betw... (by ccsdude)
by ma72
passing function as a arguement
 
I read this page about passing function as a arguement on http://www.cplusplus.com/forum/beginner/65...
[2 replies] Last: ohh yes , though i had to read again and again, but i got it.Thank! I ... (by ma72)
while loop?
 
Okay, yet another question. This time, it has to do with while loops. Let me paste the code first. ...
[3 replies] Last: userselection is assign "no" --> Is userselction "yes"? False, do n... (by Daleth)
by admkrk
Suggestions to improve code
 
Hi, I'm trying to get my brain working again and running through a new (to me) book. One of the exe...
[4 replies] Last: Thanks guys, It is a bit tricky having both the numbers and having th... (by admkrk)
Authentication
 
Hello, this is my first post so please bare with me. I'm currently working on an assignment, but hav...
[3 replies] Last: Sure, this is the identity encoding #include <string> #include <iostr... (by ne555)
overloading asignment operator
 
I'm trying to overload the assignment operator to work with my class "MyFloat" which is just a strin...
[1 reply] : const MyFloat &MyFloat::operator=(const char Number ) const explai... (by ne555)
Pages: 1... 5455565758... 131
  Archived months: [feb2014]

Cannot post in this page. To post a new message, go to the first page.