General C++ Programming - November 2013 (Page 5)

by yhu420
Input-append a string
 
Hi everyone, can anyone tell me how to input-append a string? What do I mean? when I cin >> strin...
[no replies]
by Bolbi
SFML OpenGL CubeBug
 
I got a problem with this Code ... why does he just draw the back site of the cube ?? thx 4 help guy...
[no replies]
by kabary
2D ARRAY OF objects
 
How can i implement a 2d array of objects in c++ without getting stackoverflow, like class po...
[1 reply] : http://codepad.org/ivglgNg1 Seems to be working (by ats15)
by Bolbi
SFML OpenGL Cube-code
 
I wrote some Code with SFML c++ and OGL that should display a rotatable Cube ....... it doesnt .. WH...
[4 replies] Last: The problem was .... i was not using the display function :D (by Bolbi)
size of an array in called function
 
How to find the sizeof an array in called function? when we pass the array a argument to function d...
[3 replies] Last: #include <iostream> template < std::size_t NUM_ELEMENTS > void merg... (by JLBorges)
by Damon
Sorting methods
 
How can i make a counter that counts the number of swaps it does to sort the numbers for each sort m...
[1 reply] : every time you call swap up a counter (by closed account Dy7SLyTq)
I need help on my atm program
 
I'm having trouble with my program. It won't output on the screen when I call for the user's name......
[2 replies] Last: Change the line 45 with this one: getline (cin,name); The header ... (by condor)
by sk9
System programming: Parsing T record
 
how to parse T records, from object file generated from SIC/XE assembler which contains object code ...
[no replies]
by Bolbi
How 2 make a simple 3d Cube with OpenGL
 
Iam using SFML CodeBlocks and OpenGL iam not very good in OGL ... i want 2 know how to make a simple...
[1 reply] : Here two addresses that are waiting for you: http://www.arcsynthesis.... (by condor)
strange output in program
 
Most of the below code is pretty simple to follow. Basically it counts the frequency of ascii charac...
[1 reply] : Those are ASCII character codes. Things don't line up very well vertic... (by norm b)
How can I realize this? Maybe beyond C++ capability?
 
Now I defined several boundary conditions: class wall_t { ... }; class inlet_t { ... }; class ou...
[5 replies] Last: Now I have defined a class called PDEBoundary_t and three derived clas... (by northfly)
Get full path of file
 
Hi, I wanted to make my program read the file "input.txt". I did it successfully, but now I want to ...
[5 replies] Last: On Windows, instead of acquiring the current/working directory and the... (by andywestken)
Need help finishing my program
 
I am constructing a random text generator and i am almost done i just need help on the final output....
[3 replies] Last: for (int x = 0; x < NUM_FRIENDS; x++) { if (x!=name_selected) {... (by ats15)
by xxsjxx
.cpp file guidance
 
I have this program and I did my .h file but I am having trouble with the .cpp file since they don't...
[4 replies] Last: When the teacher gives you such nice guidelines, you should use them i... (by Lowest0ne)
by Juicej
ip adresses
 
hey i was given a project and decided to do something in the networking field, which is what im inte...
[2 replies] Last: A really good first networking application is a console one-way messen... (by Stewbond)
qt make button unclickable?
 
so im making an app for a friend and I need help with something. I am new to qt so bear with me. i w...
[3 replies] Last: never mind i figured it out. i forgot to do ui->pushButton_2... (by closed account Dy7SLyTq)
A link error in C++
 
Hello, I have a question about using Visual Studio to compile c++ codes. I created 3 projects:...
[1 reply] : ClassC { public: tsetC(); }; Might this be the problem? -Albatro... (by Albatross)
What is wrong with this function?
 
#include <iostream> #include <fstream> #include <sstream> #include <vector> #include <string>...
[11 replies] Last: You're welcome :) (by MikeyBoy)
by amc246
Unexpected array error
 
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <cstring>...
[9 replies] Last: Well, you've changed printElements so that it uses the length argu... (by MikeyBoy)
how use the boost::any type?
 
can anyone tell me how use the boost::any type?
[1 reply] : Have you already read the doc? http://www.boost.org/doc/libs/1_55_0/do... (by LB)
November 2013 Pages: 1... 34567... 46
  Archived months: [oct2013] [dec2013]

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