General C++ Programming (Page 6)

Need Help with my program
When i print out the info the user inputs it gives me garbage. when i print out the name it comes o...
[3 replies] Last: To expand on ne555 's response, void studentInfo(Student person) ... (by AbstractionAnon)
How efficient is checking x>k?
In what order in terms of speed (possibly some at equal speed) will the following comparisons run (...
[19 replies] Last: Well, if k is the second lowest value of it type, it can be done as x ... (by helios)
by bm2112
"Class" does not name a type error
I am creating a templated ArrayList class and I have the functions written but I cannot get it to co...
[3 replies] Last: As the others have said, there's not enough here to compile. We need y... (by AbstractionAnon)
Getting Adress of variable in another process
hello i can simply handle process by using HANDLE hProcess = OpenProcess(stuffhere); how can i basi...
[3 replies] Last: Windows program's memory location changes between executions, you'll h... (by wizebin)
by plexus
Pronunciation of data types
I recently heard Brian Kernighan pronounce the type char as if you would say the word "character" ...
[12 replies] Last: > What about networking code and binary portability? Most RFCs use th... (by JLBorges)
linked list within another linked list
I want to create a linked list of musical genres where each node is one genre of music (i.e. reggae,...
[4 replies] Last: Okay, well thank you for the help. I think I have enough information t... (by chmstry)
Assistance with Data Validation in Character Arrays
Hello! I need some assistance with a somewhat complex code of mine. Here's the scenario: The progra...
[2 replies] Last: #include <iostream> #include <string> #include <cctype> #include <sst... (by JLBorges)
by new1
file modification in c / c++
Hello , i want to modify the file contents using C++ here is the below sample prog. #include <s...
[2 replies] Last: yeah i got it , i just misplaced my input text file i had a doubt , ... (by new1)
Help with Airplane Reservation Project
Hello everyone, I'm currently working a project for class and I am stuck. I am a complete newbie...
[1 reply] : Duplicated Post. (by chicofeo)
cout.rdbuf() and printf()
I assigned a char buffer to cout in order to speed things up. And as expected it was extremely effic...
[8 replies] Last: Ah, you are right. I need to fix that too. Behavior of different calls... (by MiiNiPaa)
Help with implementing 3 functions for a problem that can be solved with just 1
Hi all, I'm new to the forum! I was wondering if someone could point me out with the logic my code. ...
[2 replies] Last: Ericool : Do not suggest non-standard functions when there is a perfe... (by MiiNiPaa)
Help with a for loop segmentation fault in my code.
Write your question here. I'm writing a program in c++ which reads an outside weather file with 365...
[1 reply] : Line 25: hottest_index is not initialized. Hint: It contains garbag... (by AbstractionAnon)
by belop
help with myn program!!!
Write a program in C++ which adds, subtracts, multiplies, divides and perform exponentiation on two ...
[1 reply] : What's the problem you are facing , hope it is displyed what you enter... (by new1)
Having some difficulty understanding file io
An interactive C++ program whose input is a series of 12 temperatures from the user. It should write...
[5 replies] Last: This is more updated code this actually runs and subtracts the program... (by edjohnson35)
by css416
Functions with Arrays
SAMPLE DIALOGUE: Type a string: abcde ojkl Encrypted: *bcd# +jkl Task is to replace all lette...
[3 replies] Last: What about arrays? Have you discussed arrays yet? Some professors talk... (by YFGHNG)
C++ "compiler" speed enhancements
Hi, it would be great to have a tool that enhances C++ compilation time, breaking it down to funct...
[2 replies] Last: interesting. Did not know about Ch. It seems to be a good tool to get ... (by gregorsch)
by JLGo
Matrix 2D array
Hi all, I have trouble in display my matrix program. All the data entry are displayed in line.. ...
[1 reply] : (by mutexe)
Needs help with validation
Hi guys, I need help with this programming assignment!! #include <iostream> #include <stdlib.h> #i...
[5 replies] Last: I provided you with a link on how to do it. That page includes an exa... (by AbstractionAnon)
help with importing into multiple arrays
I'm working on creating a program that will read a file with three lines of data. The lines are a st...
[1 reply] : firstly, use code formatting (<> to the right of the edit box) The fo... (by Jaybob66)
error C2678
[6 replies] Last: Why did you delete your post? You've basically destroyed any possibil... (by MikeyBoy)
Pages: 1... 45678... 33
  Archived months: [aug2015]

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