
please wait
by ohsimplyme
Looping data into a output file
|
I'm not sure how to continuously loop my void function so that each time information is inputted into the main it can continuously print it out onto the output ... |
Apr 7, 2017 at 4:28am
[2 replies] Last: Thank you @joe864864!! (by ohsimplyme)
|
by elieh
yes or no loop back
|
Hello I am trying to write a code to answer a yes or no question. If yes go to next task and if no go back to the beginning. But what I have is this, it will ke... |
Apr 7, 2017 at 4:20am
[4 replies] Last: Make use of the toupper function to halve the logic: #include <cctyp... (by TheIdeasMan)
|
by doodle123
Need help with getting file output to console
|
My project is to create a file that calculates the average of a students grade from a file. I have the correct file output, but I am also supposed to get an out... |
Apr 7, 2017 at 3:26am
[1 reply] : @doodle123 You have one array of 10, which will hold only one student... (by whitenite1)
|
by fguy
Basics of reading text files and counting characters
|
I am learning programming in C. Hope that's OK on this C++ board. I am using gcc 4.9.2 on a Linux system. I am experimenting with with counting characters in... |
Apr 7, 2017 at 3:09am
[2 replies] Last: I am using the text editor pluma for coding. pluma comes with the MA... (by fguy)
|
by wolfv
compare different length files
|
These two files are identical up to first oef, but are different after first oef. line 1 eof line 1 line 2 eof The following code wants to compare two fi... |
Apr 7, 2017 at 2:46am
[8 replies] Last: Thanks again mbozzi. This works as intended: #include <stdio.h> #inc... (by wolfv)
|
by Grichards16
Confused and need help
|
Write a program that creates an double array that is 1000 elements large. Set the value of the first element to be equal to 100. Set the value of each element a... |
Apr 7, 2017 at 2:04am
[2 replies] Last: Alright thank-you for the help! If I have any more questions I will po... (by Grichards16)
|
by ahogan
How do I make my code modular - include header, source and main files
|
So I need to create a modular class (a header, source and main file to implement this program). I have started the header file but not sure how to define the ge... |
Apr 7, 2017 at 1:00am
[8 replies] Last: Thank you all, i think I just got a little impatient with this one sti... (by ahogan)
|
by SVcpp
Classes/Vimrc help
|
Hey all, I'm coding to touch up on some skills with classes. I'm using Sublivim as a vimrc file and for some strange reason, I'm getting an error with my str... |
Apr 6, 2017 at 11:13pm
[1 reply] : vim is unrelated. > "no matching function call to 'strcpy'." > "cann... (by ne555)
|
by subconix
If/else sorting problem
|
I posted in this forum a few days ago about a program I was having trouble with. "A user enters 3 numbers, the program will sort the 3 numbers in ascending ord... |
Apr 6, 2017 at 11:00pm
[1 reply] : check out lines 44--45. Also, you ignore some cases when calculating ... (by ne555)
|
by passingBy
Output problems with homework-first time posting
|
Hello everybody this is my first time posting here, and first time learning c++. I am having trouble with my homework assignment where I am supposed to write fo... |
Apr 6, 2017 at 11:00pm
[4 replies] Last: Nothing's wrong with std::system() in the general case, however, it's ... (by mbozzi)
|
by Hohenheim
TWebBrowser getElementByID
|
Hi, I'm having trouble working with TWebBrowser in RAD Studio Xe8 C++ builder. I can't figure out how to access elements on a webpage, like reading the conte... |
Apr 6, 2017 at 8:56pm
[7 replies] Last: I feel a bit silly now that I've tried the german code: This one find... (by Hohenheim)
|
by imastruggler
Help I'm really confused here?
|
So basically part of a program asks me to do this: "A function called by main that accepts two arguments: The name of the file stream object as a reference p... |
Apr 6, 2017 at 8:33pm
[2 replies] Last: Yeah, it does want a couple returns and I'm using an outstream too. It... (by imastruggler)
|
by Jonh
ascii code
|
hi! I have a text and I want to convert it to ascii code in c++. The program checks the allowed characters but does not convert the spaces. What can i do? |
Apr 6, 2017 at 8:33pm
[2 replies] Last: char x; if((x>='A' && x<='Z')||(x==' .')||(x==' ,')||(x==' ')) ... (by Jonh)
|
by TommyGun4
Outputting incorrect values
|
My program has an error in it but i'm not able to pinpoint where it is and what is causing it. I know I am not getting the correct values when it is outputted a... |
Apr 6, 2017 at 8:04pm
[3 replies] Last: Well, it's correct to a sensible tolerance when the limits are 0 and 2... (by lastchance)
|
by casey250
Need help in skipping a line of text from a file when using a loop
|
Thanks for the help! |
Apr 6, 2017 at 6:39pm
[3 replies] Last: Again, OP deletes original post after getting help thereby ensuring no... (by gunnerfunner)
|
by haoz
Catching both SIGTERM and SIGINT and exiting properly
|
I am learning to use sigaction to catch signals, and I have a few confusions to free up. I read that the suggested way of setting up a program to catch SIGINT... |
Apr 6, 2017 at 3:58pm
[2 replies] Last: I have seen those pages, although maybe I don't understand all of thei... (by haoz)
|
by mys 97
got finite output (do... while)
|
hello. i am trying to make a program to prove Lothar Collatz formula. the program should produce output until the num = 1, but my code seems work pretty wierd... |
Apr 6, 2017 at 3:34pm
[4 replies] Last: owh... hahahah.. how can i miss look that things. its proved. thanks... (by mys 97)
|
by TheZambieMan
Can I improve this code?
|
OK, so, I don't have much experience in C++, this is some practice code i typed up and i would like to know if there is anything that could be improved? #in... |
Apr 6, 2017 at 1:17pm
[5 replies] Last: Is there a limit in how much a code can be improved? :-) https://e... (by closed account 48T7M4Gy)
|
by xxvms
if else...
|
Hi there Just want to check, I was playing with code (please see below), and one thing I was not sure about why if I had just if rather then else if when c... |
Apr 6, 2017 at 12:29pm
[3 replies] Last: if you replace else if with just if then it prints correct part of th... (by Enoizat)
|
by CoderGirlV
Problem printing vector
|
Help fixing the code to print vector #include "std_lib_facilities.h" vector <int>p; bool prime(int number) { for (int i = 2; i < sqrt(number); i++) ... |
Apr 6, 2017 at 12:08pm
[4 replies] Last: Hi, CoderGirlV. Why don't you follow the given requirements step by st... (by Enoizat)
|