Beginners (Page 4)

any idea how to Write the encoded string to a second file, such as coded.txt
 
Not sure if I'm right #include <iostream> #include <fstream> #include <string> using names...
[2 replies] Last: Please use these tags to separate your code: http://www.cplusplus.com/... (by Aim4Erudite)
Write a program to calculate students’ average test scores and their grades
 
My professor has me writing a program with the following instructions and I'm a little stuck mentall...
[6 replies] Last: When I run your program with the data given I get results, but there i... (by dhayden)
by mykds
Problem with Console resizeing
 
Hey there, I've got a problem with the following code. void set_console() { //Define size sh...
[6 replies] Last: Possibly your project was missing a setting to include the folder that... (by kevinkjt2000)
Classes and Inheritance Problems
 
I cannot understand why I am getting an error for 'nameInput' and 'weightInput' on Line 15 in Pitche...
[10 replies] Last: Awesome, thanks again! (by D0CHollywood)
help me please
 
#include <iostream> #include <string> using namespace std; class students { int data_members...
[2 replies] Last: @OP: The code you've given does nothing to address the problem you've ... (by booradley60)
Serial port help
 
I am having a problem reading from a serial port every-time that I read from the port I get a differ...
[11 replies] Last: do you know the exact number of bytes expected replace 20 with that nu... (by rafae11)
My Very Beginner Software Will Not Load in command promt
 
So I Get this error: o- no such file or directory vars.exe no such file or directory what i wrote i...
[5 replies] Last: Should you have -o instead of o- ? (by booradley60)
by Winsu
I can't understande this code
 
This is a part of a big code that I have got, and there is a part that at the moment I dont know wh...
[2 replies] Last: yes...I think is this one char Dig2Char(DigBCD a) { switch (a) { ... (by Winsu)
Help with my search function
 
I am trying to have a user enter his/her name. The program should then search the .txt file to see i...
[5 replies] Last: Just a question can two users have the same username? if not then this... (by Pratik K)
Autocomplete for switch in codeblocks?
 
Hi! I'm making a program relying on switches with many cases. Is there a way to autocomplete a swi...
[3 replies] Last: Orwell's Dev-C++ fork has the ability to add code snippets, and switch... (by FurryGuy)
Multiple Inheritance
 
For my computer science class we are supposed to write a program with classes that calculates how ma...
[7 replies] Last: Never mind I figured it out! Ah good ! I hope you spotted the p... (by TheIdeasMan)
Run small scripts in CMD?
 
So basically I'm learning from an app on the mobile where they create and learn c++. The thing is, t...
[1 reply] : C++ is not a scripting language. You will have to compile the program ... (by Zhuge)
how to save input in a file?
 
I am writing this little test program to see if I can save input into a file without it being overwr...
[3 replies] Last: So, if you want to save the previous input, either open your ofstream ... (by koothkeeper)
How to Add name & info to text file for read and write
 
Hello, Im new to C++ and trying to get my code to work where I can add a name and put down some in...
[no replies]
by leourb
Access and Modify Class Elements in a vector<class>
 
Hi. I would like to know if it is possible to access and modify an element of an existing class o...
[7 replies] Last: Yes keskiverto! Thanks... I am writing a program part of an exercise o... (by leourb)
Problem counting words individually
 
Can someone please help me. Thank you for looking. It is not counting the each word separately ...
[3 replies] Last: @keskiverto, Great my version (using my suggested algorithm above) wor... (by CodeWriter)
My for loop was okay but my while loop is not. I don't know how can I do it. It should be 10 to 1 not 1 to 10
 
#include <iostream> using namespace std; int main () { int num = 0; cout << "Using for...
[2 replies] Last: Thanks man. :') (by mightyjack)
by JoanT
Having problems with codes
 
I'm supposed to write a program to create an array of size 20 to store integers. Then, the program s...
[9 replies] Last: Here's the modified version. Just refactor and/or arrange it according... (by jrosario)
how do i goo about this
 
The heating system in a school should be switched on if the average temperature is less than 17 degr...
[5 replies] Last: Deja vu ... same poster, same topic, the other two threads: http://www... (by keskiverto)
How to solve
 
Write your question here. My computer has some problem, when i open computer, it says unactive wind...
[1 reply] : Maybe you mean "Activate" Windows :| (by leourb)
Pages: 123456... 34
  Archived months: [jun2015]

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