General C++ Programming - April 2012 (Page 39)

Need help Uppercasing the output string for a translate program
 
Hey guys so I am making a Programneed help upercasing from lowercase
[2 replies] Last: Yep, there is a built in tolower() and toupper() function. If you want... (by IceThatJaw)
Bmp loading help
 
Hey guys, I need some help. I need a function that loads a bmp and stores ONLY it's red values in a ...
[3 replies] Last: Never mind, I figured it out ^^ (by SuperSonic)
Which is faster??
 
I want to know which one is faster (executing-wise): loops, or writing out all of the code. Ever si...
[4 replies] Last: > I want to know which one is faster (executing-wise): loops, or writi... (by JLBorges)
by jwings
having error with implementing template function which returns reference value
 
This is part of a code. I am trying to make a stack from List STL. This is a practice although I k...
[2 replies] Last: Yes... correctly I names my class as stackL oops. :P careless mist... (by jwings)
If statement help
 
I was tasked with taking some pre written code, tweaking it and making a game out of it. What I got ...
[6 replies] Last: Your suggestion sounds about right, but I am starting to get over my h... (by cameronx9)
problem when I declare
 
Hello everyone I have a problem with eclipse, when I declare a "string", eclipse say : Type 's...
[7 replies] Last: In addition of Peter87 's reply, it's considered a bad idea to use t... (by closed account zb0S216C)
by idks16
connect 4 game
 
#include<iostream> #include <string> using namespace std; void display(); bool check(int a, int...
[2 replies] Last: or if you want it inside the game loop make it an if statement that us... (by m4wk)
by astex
Declaring a function of fewer variables within a function that takes a few of the variables as arguments
 
I have a numerical integrator (using RK4), that takes functions of one variable of any type and inte...
[6 replies] Last: That is exactly what I want. Thanks. (by astex)
[Win32 API] Force to use Website Buttons
 
Hello, is there any way to use website buttons like "submit" button below with win32 application?...
[no replies]
Pack 8 to 4 bit color channel
 
I need help onto how to pack 8 to 4 bit color (alpha channel). It something like this right now: ...
[2 replies] Last: Thanks. (by morando)
Overriding >> operator of stringstream for conversion
 
Hello :-), Well, stringstream str; str << 10; double x; str >> x; This code is...
[4 replies] Last: @Null: Thanks a lot. That's it ^^ @naraku9333: it's out, but I had to... (by TheDestroyer)
"There shall be no arrays of references"
 
Then why does this work? #include <iostream> #include <vector> using namespace std; template <cla...
[16 replies] Last: HI , I am not able to compile the code as #include "stdafx.h" #in... (by bluecoder)
by Janman
Char Array to Long array
 
Hi! I need to copy the bits from char array to long array. I have written this, but it returns som...
[2 replies] Last: HI , you do not neet the long array and reinterpret_cast for it . lo... (by bluecoder)
How would you attach the camera?
 
How would you attach the camera to an object? At first, I tried synchronizing model and camera rota...
[4 replies] Last: One solution to the middle point problem would be to determine the mod... (by Telion)
Complex polymorphism problem
 
Hello guys, I have a complicated problem, and I need your help. I have a base case, class...
[4 replies] Last: Never knew I could call the base pure method. Thanks a lot :) (by TheDestroyer)
Graph Adjacency List - Edge getEdge (int, int)Help!
 
Good evening. I'm programming a graph hat handles directed, undirected, weighted and not weighted g...
[10 replies] Last: Thank you very much for the help! (by arbhie2581)
c++ oop class problems with reading array
 
Hi, i need to read from text file. this is what inside the text file: (name, code, price) EG: ...
[5 replies] Last: OO based doesn't mean you have to blindly make a class. The way you ca... (by TheDestroyer)
Average Function
 
I need some help working on a program. I am to pass 2-10 numbers which calculate an average. I don...
[4 replies] Last: btw ... if u need help with anything else ... PM me ... i'll be glad t... (by TwoOfDiamonds)
'StdAfx.h'
 
I am using Visual Studio 2010. Can someone tell me the steps to remove 'StdAfx.h' and what are the d...
[3 replies] Last: 1) Right click on StdAfx.h in your Solution Explorer and select "Remov... (by Stewbond)
Can somebody tell me whats wrong with this code ?
 
#include <iostream> using namespace std; //overload stream insertion and extraction operators cl...
[3 replies] Last: Line 48: max_size and elements are not updated. Line 53: max_siz... (by cire)
April 2012 Pages: 1... 3738394041... 49
  Archived months: [mar2012] [may2012]

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