General C++ Programming (Page 40)

How to Read a File into a 2D Array?
 
I am new to C++, and new to programming altogether. I'm finishing up my first semester as a Computer...
[4 replies] Last: Thank you! I'm sorry for my inexperience and lack of common sense. You... (by Jaydelay)
Assistance with this code
 
I am simply trying to read information from a text file. I have created a text file already with the...
[5 replies] Last: Bravo my friend! Thanks a ton for that advice. I can't believe I didn'... (by Captaincjm)
Can't delete tree node
 
Hello it seems that I can't delete a node without children, and I have no idea why . Can you please ...
[8 replies] Last: you can't use references because C doesn't have them. Since this is... (by dhayden)
by Salad7
So where do i learn about windows.h
 
Im comfortable enough with c++ to go deeper, my question is i want to begin learning about windows.h...
[1 reply] : I think a great place to start is here: http://msdn.microsoft.com/en-u... (by geniusberry)
How to set auto start parameters for program
 
Right now I am trying to make an alarm clock type program that will start on login and will go off w...
[1 reply] : You forgot to ask a question. (by LB)
Help me write BST tree to file
 
Hi . I can only write one value to file, but I want all values written: get all, say for examp...
[6 replies] Last: Thanks! its working.. (by csstudent123)
Editing text file in c++
 
Here is the problem. PROGRAMMING PROBLEM You are requested to create an inventory control applicati...
[1 reply] : One of the first things I see is this: The records are to be saved a... (by jlb)
by Magarf
A rotation problem
 
Hey everyone, I had a few questions and I would really appreciate it if you can help me with that...
[1 reply] : Sorry I can't help much, but you can't rotate a 2D frame of video that... (by Duoas)
Generating random numbers
 
for (int i=0; i<15; i++) { nx =rand()%8+1; printf("%d",nx ); } I wa...
[1 reply] : The snippet of code you posted works OK for me after adding in a few m... (by wildblue)
Can you help?
 
Im getting this error and i'm a relative neophyte to programming so could some help me? "fatal er...
[3 replies] Last: Thank you both for your help I had written my code in the stdafx.h fil... (by MichaelN2)
Do you believe smart pointers teach bad habits (1,2)
 
Hey guys, I would like to hear your opinions on smart pointers. The main question I have is, do you ...
[31 replies] Last: but the new and delete statements look alright At least std:string co... (by MiiNiPaa)
Trigonometry problem C++
 
I am trying to make a 2D shooter using C++ and SFML 2.1. A machine gun is positioned somewhere and i...
[3 replies] Last: > Now the gun... > What am I doing wrong? In order to know what you ar... (by ne555)
Mixing samples of multiple (1+) channels?
 
I'm currently using the following formula: SUM(channels)-(PRODUCT(channels)/USHRT_MAX) to mix al...
[2 replies] Last: I removed the functionality, just simply SUM(channels) and finally cli... (by superfury)
SF2 24-bit samples with 16-bit renderer?
 
My renderer uses 16-bit samples (short). The soundfont might use 24-bit samples or 16-bit samples. I...
[4 replies] Last: Assuming that isn't an RGB triplet, yes. (by Duoas)
Trying to Parse and Edit a Text File
 
I have this project for school where I basically need to write a program that will take any text fil...
[2 replies] Last: Don't loop on EOF. while (getline(inFile, line)) { ... } You... (by Duoas)
cannot fix the error in the below radix sort code
 
#include<iostream> #include<conio.h> using namespace std; void radix_sort(int*,int); int count(i...
[no replies]
member function to shuffle content
 
Hi Is there member functions for STL's like vector,list etc., to shuffle the content of that STL. ...
[2 replies] Last: Hi Peter Thanks for the information.... :) (by raju8438)
Help with Arrays and Functions
 
I'm writing a program that will read an array from the user, and then it will output the array back ...
[4 replies] Last: IN all of your functions, you do not use a argument at all. You crea... (by MiiNiPaa)
red-black tree insert issues (SOLVED)
 
I'm working on a red black tree assignment for my class and I'm having some trouble with the inserti...
[2 replies] Last: I actually got this figured out earlier today, thank you for the help ... (by pomopwner)
Matrix multiplication (1,2)
 
Hi people. New to this site, new to c++ so excuse me if i lack the normal decorum. Im writing a p...
[35 replies] Last: @Doas If he doesn't want to lift off from the launchpad and fizzle ou... (by kemort)
Pages: 1... 3839404142... 55
  Archived months: [oct2014]

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