General C++ Programming - June 2017 (Page 4)

Reading .txt file into 2D array
 
I need to read a .txt file as shown below. Might be hard to read, but it is shown as a 5 by 7 table....
[7 replies] Last: Oh, yes that works. Thank you! (by doublemirchi16)
Removing SPECIFIED and not duplicates in Vectors
 
for (unsigned int i = 0; i < CUSTOMER_NAME.size(); i++) { if (CUSTOMER_REMOVE == CUSTOMER_NAME....
[4 replies] Last: The title of your post states you want to remove specified but not dup... (by gunnerfunner)
Crash With Custom Vector Class Using std::strings
 
Hi there! I've been creating my own vector class as a learning experience and also because I wanted...
[2 replies] Last: Haven't looked at the code; but the problem seems to be: We should not... (by JLBorges)
log in times,time of the eachuser problem for compilate
 
hello everyone i need help with this code need a dev c++ program does analyze an archive with the t...
[1 reply] : Duplicated Post @ http://www.cplusplus.com/forum/beginner/218312/ (by chicofeo)
do while looping problems
 
#include <iostream> using namespace std; int main() { double gpa = 0; int exam = 0; c...
[4 replies] Last: With the continue sitting out on its own - it's going to run in all ca... (by wildblue)
by sharbu
Calling a function inside switch case- Multiple Definition error
 
/* * Program to implement Linkedlist. */ #include<cstdlib> #include<iostream> using ...
[5 replies] Last: thanks ;-) (by sharbu)
Read access violation
 
Hello! New to this forum. My code compiles properly and both requesting and withdrawing functions...
[5 replies] Last: It seems like every time I try to display the landing times and flight... (by Descensum)
vectors
 
I have a 2d vector.I have inserted its initial pairs.Now I want to insert any transitive pair in the...
[3 replies] Last: > they are not getting inserted ¿how did you check that? > a [t+1]... (by ne555)
question about read access violations
 
hi there, i've been having no issues on the first code, when i run the second code, it shows.... E...
[1 reply] : ¿why aren't `{O,}newnode' local to the function? the function seems ... (by ne555)
Arrays Printing Garbage Values
 
Hi, My program is supposed to print from the input file (My array size is 10). But it is printing ...
[13 replies] Last: @kemort- not sure. Sorry. @OP That's OK despite the strange requirem... (by closed account 48T7M4Gy)
by Jax123
Name app.
 
Hello guys, this my assignment. I find it really hard for a beginner like me. would appreciate if yo...
[6 replies] Last: Then after that, you add comments like pseudo code to get your thought... (by DTM256)
[FLTK] hide() from callback??
 
Hi everyone, I am wondering if it is possible to hide() a window from a callback? Maybe this involve...
[no replies]
Read a text file, store in an array and then output reverse the text file
 
Hi Guys! I am new here and really stuck on this question. So I want to read a text file and store i...
[6 replies] Last: If you change to string inputs , you'd also have to change the functio... (by wildblue)
Arrays Problem
 
Hi, My program is supposed to print from the input file (My array size is 10).But everytime I run ...
[4 replies] Last: @Jib- Thanks for your suggestions. I managed to solve it. (by meprogrammer)
by Kalcor
Concept behind this "maths"
 
Captain Bill the Hummingbird and his crew recieved an interesting challenge offer. Some stranger ga...
[3 replies] Last: > I just don't get the maths behind this wide equation Hint: If we s... (by JLBorges)
Is this writing style good?
 
Is this good way to do it? To make window's friend class engine and then let the engine access windo...
[no replies]
License System
 
Hello i would like to use an license system, but i cannot find any guides or avaliable sources for t...
[no replies]
by Yany
How to disable the Windows Start key of the keyboard ?
 
Hi all, I'm developing a special application in MFC. A Real Time Control System with exclusive ...
[7 replies] Last: Thank you very much Thomas, With a few change for adaptation it worke... (by Yany)
by Kalcor
Subsegments of an array 2
 
I succeeded in coding such thing in a basic way but it runs into a time limit error because the time...
[2 replies] Last: Thanks alot buddy ! <3 (by Kalcor)
by Kalcor
Can't get this
 
I didn't understand exactly what this question said, nor what the editorial said also same goes for ...
[no replies]
June 2017 Pages: 123456... 11
  Archived months: [may2017] [jul2017]

This is an archived page. To post a new message, go to the current page.