Beginners (Page 7)

read file into array & sorting array issue
 
The code below is read file into array and i had attached the txt file link below. i wonder if this ...
[15 replies] Last: noted. thank you so much sir. i had learnt so much from u :D (by jackiettw)
String does not want to accept 'white spaces' when I type and will only accept one word
 
Basically, my only problem with my code is that when it asks for the student name, and I type anythi...
[10 replies] Last: Oh I forgot to tell adriyel about the getline, even though I used it i... (by minomic)
by Awhe
Not executing if statement? Unexpected results.
 
I was reading and learning c++ from the book "Programming principles and practice using c++, 2nd ed"...
[4 replies] Last: ty buddy (by Awhe)
Loading from a textfile and filling a vector
 
When i use this code to load the textfile into the vector and I am going to print it, it seems like ...
[3 replies] Last: Both Momothegreat and specter113 are making bad suggestions. Your... (by cire)
How to switch back to main
 
Hi there, I am trying #include <iostream> #include <fstream> #include <string> #include <c...
[7 replies] Last: This might sound like a bit of a bad answer, but there is plenty of ma... (by tristan1333)
undefined refrence to WinMain@16 error?
 
Hello all, Im new to c++, going through teaching myself, and Im encountering many problems buil...
[6 replies] Last: Holy crap! Shows how much attention my brain was giving you. Yes, ev... (by Duoas)
Trouble with program (1,2)
 
Write a program that prompts the usr to input an integer and then output both the individual digits ...
[22 replies] Last: :) (by Softrix)
Using a existing text file and edi and save
 
How can I use my saved list to add new information in it and save it again? I canĀ“t find any inf...
[1 reply] : My quick suggestion is not closing the output file until the end of th... (by Momothegreat)
Replacing capital letters with small lettes and small letters with capital letters.
 
This program replaces the small letter vowels with capital letters. How do I get it to replace small...
[2 replies] Last: ^ Include the header file <cctype>. It has library functions like tolo... (by Momothegreat)
Coding a Simple Game. Please assist
 
I'm not sure why I"m getting a "previous if before else" error on line 57. #include <iostream...
[2 replies] Last: ^ What he said: if (totalBucks >= 13) // delete semicolon, i... (by Momothegreat)
by SVcpp
Text files and Storing in variables
 
Hello, I'm currently writing 2 classes for a program I am writing and I want to be able to read i...
[4 replies] Last: @Momothegreat Thanks for all of the help, but I actually got this sol... (by SVcpp)
Error while checking if .txt file is open or not
 
I want to check if a file is open or not. If not then open it. ifstream inputFile; if (!inputFile....
[no replies]
Keylogger help
 
First, I will not use this for anything other than learning cpp. I need my keylogger to log at speci...
[5 replies] Last: As @ultifinitus said, there is a system hook for this so you can make ... (by iQChange)
by kunz
while loop validation
 
Is there a simpler way to write //Validating input to R,S,P and Q while (my_choice != 'R' && my...
[6 replies] Last: andywestken's solution is a very handy trick to remember. For efficien... (by dhayden)
Anyone need a student or programming buddy?
 
Hello everyone, I'm new to the forum. I have been learning and studying C/C++ on my own for quie...
[9 replies] Last: Sounds cool. You help me and I'll help you too. We're all in this toge... (by SonDavid)
C++ vs assembly code
 
x=10; l= ++x + x++ + x At first I thought evaluation takes place from right to left. So we have x=...
[6 replies] Last: It has to be undefined, it changes x's value multiple times during the... (by TheHardew)
Issues with loop
 
Ok Im trying to have the program end when the person enters "done" on either input1 or input2 and it...
[3 replies] Last: When the user types "done" in either input1 or input2 then the loop sh... (by specter113)
Code Error Heelp..
 
Hey just quickly have to give this code for teacher what's wrong about this code I can't compile it....
[3 replies] Last: no worries, I've just noticed that the error message you got wasn't th... (by mutexe)
replace duplicated element of vector by other element of another vector
 
Write your question here. if i have to vectors like {3, 2, 4, 5, 1} and {1, 3, 2, 4, 5} and i need ...
[1 reply] : Please, use the code tags (and intuitive indentation) when posting cod... (by keskiverto)
What would you recommend first?
 
Hi everyone, what would you guys recommend first learning the basic of syntax or at least enough of ...
[2 replies] Last: Thank you for your reply, I'm starting to do that except I watch tutor... (by Codex23jv)
Pages: 1... 56789... 83
  Archived months: [mar2015]

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