General C++ Programming (Page 37)

file wont print out
 
How come when i open the file output nothing is there? file.close(); fstream output; ...
[2 replies] Last: First of all, you should ALWAYS test the stream first: if(!output) {... (by Seag)
Comparing elements in 2-dimens. array
 
Hello everybody, I'm trying to improve my C++ skills on my own, So I need a little bit help, Hope y...
[no replies]
Multiple account login problems
 
How can I be able to use more than one account? Please Help! **Updated** Code: #include <iostream> ...
[14 replies] Last: ok, now I need a way to be able to have more than one account usable, ... (by jasonwynn10)
Colition Detector
 
I am creating a sandbox game right now. My game currently has a structure that says whether you can ...
[no replies]
Hamming code help
 
1 )Determine if there’s an incorrect bit, and if so, where it is. 2) Display CORRECT code 3)...
[no replies]
by Myna
C++ array
 
I need help writing a lottery program that generates 5 non duplicate numbers that is between 1 and 2...
[3 replies] Last: Disclaimer: I am a beginner. #include <iostream> #include <stdlib.h> ... (by swp147)
File I/O not recognizing contents correctly
 
Hello, so I have a program that's not doing what I want it to do. This is the assignment: The nt...
[2 replies] Last: Yeah, making small functions help a lot. Thanks! (by NewatCplusplus)
by yoga79
Plotting the Velocity Data
 
Hi all.. I am a beginner in C++ programming, and i want to learn about C++ seriously.. I want to...
[no replies]
Drums fans
 
Hey drums fans, Can you test my app that i created with C and SDL library ! I need your notice...
[no replies]
Free() function behaviour
 
C language question struct node { unsigned char g; }; int main(void) { struct node* x = (node*...
[6 replies] Last: I cared about that unsigned char g in there Memory should only be fr... (by dhayden)
What's wrong with the initializer?
 
I am trying to create a `std::map` from `std:: string` to a pointer to member function type. I'm ini...
[4 replies] Last: #include <string> #include <map> #include <functional> struct A { ... (by JLBorges)
logical Circuit
 
I am getting error in If statement after (k nor i) "!&" need a ')'. But i Don't know how to fix this...
[5 replies] Last: Thanks All. It's good now (by sshorme)
Both if and else staments are being performed?
 
I've come across an annoying bug where both my if statement and the following else statement are bei...
[4 replies] Last: If you have multiple objects you probably end up in the else part for... (by wh1t3crayon)
URGENT just freezes and shuts down?
 
Alright let's say my program takes in input and puts it into an output.bin file. How would I take th...
[no replies]
Bubblesorting an Array
 
Hi I'd like to modify this code so that there is 1000 numbers instead of 100, and that they're sorte...
[2 replies] Last: How could you change this program so that the programmer can choose to... (by nicoleborg7)
Interpreting GDB output
 
Been working on a Seg fault for a while now, I've run my program through Valgrind and GDB, I'm havin...
[2 replies] Last: Well, I'm using std::unordered_map<std::string, Component*>::find . T... (by dabbertorres)
Dynamic Allocation
 
Ok, so I keep finding all kinds of information on this, and I know how it all works, but my brain is...
[no replies]
How does adlib synthesis work?
 
It's easy to find the registers of the adlib, but I can't seem to find information on how the output...
[no replies]
by Marc G
Help with assignment please!
 
Hi This is my first post. I need help with my assignment which I have to do in visual studio usi...
[1 reply] : start with your code, see where you stuck (by anup30)
by biowep
In class static map initialization
 
Hi, I have a class containing a map member that I want to initialize at declaration time. I know I c...
[4 replies] Last: I will use the map as a static local variable of a function that retur... (by biowep)
Pages: 1... 3536373839... 56
  Archived months: [oct2014]

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