General C++ Programming (Page 39)

Function Prototype
 
Hi, I'm a computer dummy taking my first (and likely only) computer science course and I've begun to...
[4 replies] Last: @28 cout << "enter velocity of the rocket (m/s): "; @29 cin >> vel; ... (by kannanmj)
Trouble running an infix to postfix stack conversion program
 
I keep getting the same error messages every time on Visual Studio. I don't know where the error is ...
[2 replies] Last: Make sure all the .cpp files are added to your project tree in Visual ... (by LB)
Big Integer Class using Dynamic Arrays
 
I have become overwhelmed an frustrated at these current operator overloads! Currently I still ca...
[no replies]
by Frjoe1
Keys not working
 
#include <iostream> #include <windows.h> #include <conio.h> #include <ctype.h> using namespace...
[2 replies] Last: Just for fun #include<iostream> #include<conio.h> using namespace st... (by Chriscpp)
Shortest path maze solver algorithm
 
Hi guys! I'm working on a maze solving program. So far I got the program to solve a maze using the r...
[6 replies] Last: This doesn't do exactly what you want, but demonstrates BFS. Reads a ... (by ac517)
by Alby94
std::thread in Dev C++ 5.5.3
 
When I insert a thread in my code...the compiler reports me an error: "'thread' is not a member of ...
[3 replies] Last: i try to use the header ptrhead.h for create many threads...but the li... (by Alby94)
by y510
array manipulation of messages
 
Basically i need to encrypt a message into ascii values & i also need to allow the user type some as...
[18 replies] Last: Not sure what you are trying to do with d and e. As far as the cast. I... (by giblit)
by Kak3n
Avoiding rand to generate same numbers
 
Hi I tryed to create program I wich u can guess number, I made some if to prevent inputting 2 times ...
[6 replies] Last: tnx (by Kak3n)
How to use strings in a function?
 
None of my string is coming out onto my output file.. I'm not sure what's wrong with the function. H...
[1 reply] : Please use code tags: http://www.cplusplus.com/articles/jEywvCM9/ You... (by LB)
Input handling
 
I am trying to use just cin in a while loop to catch when the user inputs a non integer to the comma...
[7 replies] Last: When you declare it inside the loop, it gets redeclared every iteratio... (by LB)
Templatizing a function based on a class member?
 
Some background: I have a class, A, with members, B and C and D; I also have an array of A objects; ...
[1 reply] : You are interested in C++'s pointer-to-member feature. Here's a small ... (by LB)
C help
 
So I was given an assignment in class and my teacher really doesn't explain anything very well. He j...
[1 reply] : What have you written so far? (by LB)
C++ Stacks and Queues
 
Goodday , I am new to Stacks and Queues and I am having a tough time answering the question below...
[3 replies] Last: Always start by writing the basic outline of your program. You know mo... (by LB)
Confusion with functions and loops
 
I'm currently stuck on this project...I can't seem to find the right number of vowels, number of As,...
[2 replies] Last: Use the fallthrough behavior of cases in switch statements to take th... (by booradley60)
dont know how to call...
 
I have a class Items(base class) with class weapons : public Items. now I have called vector<Items*...
[5 replies] Last: Your code is neither minimal, nor compilable, but I can see where you'... (by cire)
D3Dx11 Triangle Help
 
Doing this to get a triangle on screen. I followed the tutorial the teacher provided as well as the ...
[3 replies] Last: Shaders.hlsl file: struct VOut { float4 position : SV_POSITION; ... (by Paul Christopher)
by Ibzz
Visual C++ Windows form user input error.
 
I am fairly new to Visual c++ programming, below is my code to a project I am working on. I am havin...
[11 replies] Last: A simple solution would be to create an integer value for the question... (by Mike5424)
by ajf360
Looking for C++ books or tutorials, for experienced C programmers
 
Hi people at the forum, I work on the embedded system area and consider myself an experienced C...
[1 reply] : You could have a look at books listed here under Best practices / Inte... (by JLBorges)
return types (1,2)
 
Ok I have a class called items and stored in a vector as vector<items*> item. now I want to make ...
[21 replies] Last: > If you just use -1, however, there can easily be some discrepancies ... (by JLBorges)
Concatenating strings
 
I'm trying to concatenate two arrays after their multiplied together, and not only can I not figure ...
[4 replies] Last: i want to learn c++ could any one teach me? (by umair javed)
Pages: 1... 3738394041... 68
  Archived months: [feb2014]

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