Beginners (Page 54)

Seg fault and bus error
Hi, Can anyone give examples on what cause segmentation fault and bus error? How do you know which ...
[3 replies] Last: The input, N, is guaranteed to be from 4-10. So will I go past the end... (by lock988)
Need help with comparing an input to an array list
Hello I need some help here. i need to make a second for loop to cycle through all the numbers in th...
[13 replies] Last: Run this... #include <iostream> #include <string> #include <time.h>... (by pearlyman)
clear screen
what is the function of system(pause)? what mean by clear screen?
[3 replies] Last: It depends on what you want to do... #include <iostream> #include <s... (by pearlyman)
ofstream outFile
I can't figure how to write the output to the file Pattern.txt
[7 replies] Last: For the sake of completeness, here's my original suggestion in full: ... (by Chervil)
Need help, please
Hey guys, got an assignment to write a code, but since I'm a newbie in programming world, I can't do...
[1 reply] : Hi, Start by writing some pseudo code, make it very simple to start w... (by TheIdeasMan)
by nazis
Prime number | homework
Hola, so recently I started my programming course and I am not good at it yet. So let's get into t...
[9 replies] Last: Yes, inside the Loop, you are needing to check the value of number, g... (by Softrix)
by Sh0es
Unable to Construct ifstream Object
I'm trying to declare an ifstream intended to be opened upon a function call (I enter a filename int...
[5 replies] Last: That should work with a conforming implementation of the standard libr... (by JLBorges)
About if & if else statement
What is the dffrense between if{ & else if{ ???
[4 replies] Last: Choice between two options if (...) this else that Choice... (by kemort)
Void data types
I can't figure out how to save the void data types onto a file. Can you guys help me? #inclu...
[1 reply] : #include <iostream> #include <fstream> #include <string> #include <io... (by JLBorges)
by b1477
Weird Output
In this weather statistics assignment i am getting a weird number towards the end of my output. Righ...
[3 replies] Last: Hi, I compiled using the gear icon at the top right of the code, I tu... (by TheIdeasMan)
If it’s a letter, prints out where it is in the alphabet
Hi so im trying to write a program where one inputs a character and the output tells you where the l...
[1 reply] : This might help: #include <iostream> #include <cctype> int main () { ... (by ats15)
Question: diff. between ++i and i++
Hello all, I'm currently really confused about this code: i = 1; cout << ++i << " " << i...
[4 replies] Last: ohh i see! I got it now :) Thank you all very much for the clarificat... (by NewProgramma)
String Variable has value?
Hello, is it possible for a string variable to have a value like the number 1? Or like the code belo...
[2 replies] Last: Oh ok, thank you for your reply, I'll keep it in mind :) (by RandomGeek)
by b1477
Password Verifier
Hello, The only error I am getting is when the password entered is longer than 6 characters. I have...
[3 replies] Last: Sorry for the late response everyone, Ive been slammed with work and o... (by b1477)
Having trouble opening file c++
Hi guys, I wrote this program to open a file. However now, when build and run, i don't get any error...
[6 replies] Last: Try opening a file with a unique file name for output using the ofstre... (by jlb)
Having trouble finding the error in my code (ft. while loops)
#include <iostream> #include <fstream> #include <string> using namespace std; int main () { char...
[2 replies] Last: In function 'int main()': 27:9: error: 'gradeTwo' was not declared i... (by kemort)
by ottob
Segmentation fault (core dumped)
I am getting the error Segmentation fault (core dumped) when I run my code. It compiles and I can en...
[6 replies] Last: I changed NUM_HOUR to a const int NUM_HOUR = 0; and I did the same fo... (by cire)
Reading in Mixed data from a file using double for loops?
Hello, First time posting and I'm already asking something from you guys wow not a good firs...
[1 reply] : Outer loop for each driver. A nested loop inside the outer loop for e... (by cire)
Help with displaying 1000 random numbers
Hey i need some help displaying 1000 random numbers between 1 - 100. the code i have here displays t...
[2 replies] Last: Hey i figured it out here is the code thanks for your help #includ... (by Ko2S2shot)
Pages: 1... 5253545556... 101
  Archived months: [sep2015]

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