Beginners (Page 43)

by MOMO1
How to read from a file and store two specific columns in a 2d array
Hey guys its me again. so im trying to store a file into a 2-dimensional int array with 500 rows and...
[3 replies] Last: Thanks for the help guys I ended up modifying a bit of JLBorges read... (by MOMO1)
program crashing
hi guys my program seems to be crashing when I choose option 2,the program for some reason decides t...
[5 replies] Last: Hints: diary.txt: 11/04/2017: Lorem ipsum dolor sit amet, ei usu exe... (by Enoizat)
Dereference operator overload issues
Hello, my code is almost done but there is one last thing i can't deal with. So the point of it is:...
[9 replies] Last: @Repeater, Thank you so much sir!!! It works, I can't express how muc... (by Cppmiel)
return value from function
Hi guys I've got a dilemma I want to get the return value of a function and set it equal to a pointe...
[3 replies] Last: thanks guys =) (by adam2016)
quick start
i wanna go quickly into coding....i dont want to creat a new project anytime i's waste a ...
[9 replies] Last: I'm not sure if you are trolling or not, but here's the real answer yo... (by Duthomhas)
How to use a loop to find average of any dataset?
I'm writing a code to use linux redirection to input any dataset into my program, and then list whic...
[1 reply] : There is a confusion of logic here. The only loop you should have is ... (by Duthomhas)
why can not understand why the loop just goes on and on
Write your question here. #include<iostream> #include<conio.h> using namespace std; int a,b...
[3 replies] Last: you are absolutely right see what i am doing with int f1() that's not ... (by phongvants123)
How to prevent the input from being any letters?
I'm coding a Tic Tac Toe program for school, and I'm having a problem where if the input is somethin...
[3 replies] Last: JLBorges +1 Alternatively, for single-digit inputs, just get a char... (by Duthomhas)
format editing
Write your question here. #include <iostream> #include <string> #include <cmath> #include <ioma...
[4 replies] Last: #include <iostream> #define _USE_MATH_DEFINES // for M_PI (note: M_PI... (by JLBorges)
by rzaman
Reading Colon Separated Data
Hi, I'm trying to read a colon separated data and not sure how to tackle it. I am able to read it a...
[2 replies] Last: Thank you, so much ne555. Your link did the trick for me. I was trying... (by rzaman)
Argument Validity & Truth Tables
HI, I am hoping that I can get some guidance on this problem in my Discrete Structures I class. I am...
[1 reply] : Problem: Produce a truth table for an argument and determine if the a... (by Enoizat)
by MOMO1
How to get rid of commas and replace them with spaces
Hi guys, so I need to read in a original file that has mutual funds data. Then I have to create a se...
[11 replies] Last: oh ok thanks for explaining the logic @keskiverto when I was show an e... (by MOMO1)
hi guys I'm thinking of buying window programming 5th eddition by Charles Petzold the only problem ...
[3 replies] Last: what I want to do is write something useful How can we know what is ... (by Thomas1965)
Quiz Game C++
my code keeps getting an error. can anyone help? Its supposed to be a multiple choice quiz game that...
[7 replies] Last: Im not sure how to check if the open of file was successful if (... (by AbstractionAnon)
string concatenuation
i want to ask how to add 3 different string Put the code you need help with here. #include...
[3 replies] Last: (by AbstractionAnon)
Problem with classes and other issues
I am trying to write a code that will allow the user to input words that will then be manipulated by...
[1 reply] : There’re errors in your code, but I think the main point is classes ... (by Enoizat)
by ericM
reading garbage after eof
I am reading values from file filling up a std::vector. Everything works fine but it happens I read ...
[3 replies] Last: cool, I was aware how to do this by reading a single value, I didn't k... (by ericM)
Loading .dat file into 2D vector
I have a .dat file with one long row of integers separated by a space. I need to load this file into...
[2 replies] Last: you start building a 2d array to store your values #include <array>... (by ericM)
Can't get program to fout with ofstream!
I need this program to read the output into a .txt but for what ever reason I cannot get it to do so...
[4 replies] Last: source.txt: L 4.0 600 650 N M 3.9 610 520 N L 3.8 590 600 N L 3.0 600... (by Enoizat)
by chuvak
Expression must have a class type?
Hi forum, I reckon something is wrong with my reduce function, because when I remove the .reduce()...
[1 reply] : Why oh why don't you tell us what the error associated with the "red u... (by Ganado)
Pages: 1... 4142434445... 55
  Archived months: [sep2017]

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