Beginners (Page 54)

reading from a file
 
Hi, if I am reading from a text, and I only want the words , what should I do? for example, "Hi...
[2 replies] Last: I want to read everything with out punctuation and numbers. And I wan... (by simon1221)
Using atoi to get inputs after prompting the user?
 
Hello! I'm really new to using atoi and I've only really used it as shown below: #include <iostre...
[1 reply] : You are not using printf for output. You are using std::cout. That sh... (by keskiverto)
Function Calls
 
So, I'm working on functions and I'm trying to get everything together but when I try to build the p...
[13 replies] Last: Oh, that example is great! It makes it easier to put the image in my h... (by sierranm)
Using atoi to get inputs?
 
Hello! I'm really new to using atoi and I've only really used it as shown below: #include <ios...
[2 replies] Last: Yup, just like that (by ECEsasha)
BOOLEAN EXPRESSION BUG
 
Write your question here. Why doesn't the program enter the while loop in the foo function? ...
[2 replies] Last: Thank you for your response. I found the problem. The Boolean express... (by phztfte1)
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)
Pages: 1... 5253545556... 130
  Archived months: [feb2014]

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