General C++ Programming - October 2014 (Page 36)

Problem with EM_GETSELTEXT
 
Hello Cplusplus I have a problem with the parameter EM_GETSELTEXT in relation to my richedit box. I get no errors but the char array is empty, when I try to ...
[3 replies] Last: Oh I solved it. I just had to make the HWND hEdit variable global and... (by AlexanderCI)
student profiling system c++
 
what is the process of student profiling system using c++?
[2 replies] Last: Oops, I nearly forgot - hard work helps too. (by closed account 48T7M4Gy)
Common Variable-Name Prefixes
 
I am attempting to bring a little conformity and increased readability to my programming. I wonder if anyone could point me towards a list of widespread or a...
[3 replies] Last: http://www.joelonsoftware.com/articles/Wrong.html Hope this helps. (by Duthomhas)
by mun90
Problems With Prototypes
 
Hey everyone. I'm a beginner at C++ and I'm trying to learn about prototypes. I'm having a problem where the program recognizes the prototype however it will no...
[3 replies] Last: Thanks for the help Keene!! When I was debugging the values in the fun... (by mun90)
Characters with Integers tabbed to Right
 
I took a month's break from programming, and got rusty. Here's the problem: The character 'b' is char('a'+1), 'c' is char('a'+2), etc. Use a loop to write out...
[2 replies] Last: Another hint for tab you can use '\t' (by giblit)
openGL error
 
I am getting an error in my code that I don't know how to track down. I wanted to make sure I didn't have any little mistakes in my classes before I started act...
[1 reply] : A quick google search of that error code brought me this (first hit): ... (by ResidentBiscuit)
Help plz
 
I am a beginner of c++.I have a homework about "sumodd". It's like that: Someone input two values,valueA and valueB. It should be add the odd numbers from valu...
[14 replies] Last: thank you! Yes that tells you if it is larger or smaller. on line 22 t... (by jasonwynn10)
Segmentation fault
 
Hi all! So i´m trying to make an aplication here using fbo but in this line: Object* fbo = new FBO(m); CodeBlocks send me a segmentaion fault error...
[5 replies] Last: The heap is probably corrupted before you create the new FBO. Can you ... (by dhayden)
Please help My Delete function doesn't work
 
Hello, I have been working on this code and my only issue is that my Delete function doesn't work. #include <iostream> #include <cstdlib> #include <string...
[2 replies] Last: The best way to handle it is to have a vector of items. Load all the... (by Duthomhas)
How to output a Table
 
How would I output a table in C++? I did it a while ago, but I do not remember how, nor do I have the source for the program I did it in. Any help would be appr...
[2 replies] Last: [quote=Observer]Do you want output a table on the console or on the wi... (by TheUnholy)
Help with program using switch statements to pass multiple functions
 
This is not the entire program, just the part I currently need help with, and the functions I am calling in this part. I am returning area from areaCircle(), b...
[5 replies] Last: You should continue on this thread. (by dhayden)
please help: there is a problem with my do while loop...
 
my do while loop is right ...but it ends without me entering all the values in for output!!! as soon as i enter two inputs it ends!! so please help me find what...
[5 replies] Last: thanks so much both of you :) i`m just not that good in english ~~:s... (by deepestblue)
Help with code
 
#include <iostream> #include <string> using namespace std; void getSize(int&); void getSpace(int, string*); void inputData(int, string*); void prin...
[11 replies] Last: Wow.. Thank you! (by timk123)
by foor
std::map program
 
please help me to find the problem : // this is my code , i should Assign value val to interval [keyBegin, keyEnd). #include <assert.h> #include <map> ...
[7 replies] Last: it's ok , Upperbond and LowerBond are not begin and end ... they just... (by foor)
Array or Vector of Widgets?
 
I am trying to create an array of objects. I have to be abstract unfortunately (can't show you all my code), but this is the general gist of what I'm doing. L...
[4 replies] Last: I think it means that I am allocating memory space for 'numWidgets' a... (by MikeyBoy)
unable to compile the code
 
Hi everyone, I was trying to solve a problem on topcoder. I typed the code and compiled but it is not compiling at all.Here is the code. #include<iostream> ...
[2 replies] Last: @MiiNiPaa Thank you very much.Now my code compiles correctlly (by reach devi)
Design question (Templating) (1,2)
 
As described in this thread http://www.cplusplus.com/forum/general/143652/ I've realized a delegate factory implementation for my IOC Container. For wrapping t...
[20 replies] Last: Holly S..t, what a solution! Thanks m4ster r0shi for your patience an... (by hellhound)
undefined reference to "function name"
 
Everything seems to be in order and I know my code still has mistakes. I'm just trying to get it to compile and it won't allow it. I've narrowed it down to wh...
[4 replies] Last: int *ptr This describes an array of pointers to int. What you are... (by cire)
Why one more charater in stdin?
 
I try to use the function "fgets()" to read the input from keyboard. My code is looks like: char A , B ; fgets(A, 2, stdin); fgets(B, 2, stdin); I fou...
[4 replies] Last: it is "Y\n\0" (by MiiNiPaa)
Help with my code
 
BigInteger.h #ifndef BIG_INTEGER_H #define BIG_INTEGER_H #include "BigIntegerException.h" /** Recall from integer type that covers largest range is ...
[1 reply] : It would be far easier to use arrays of integers. That way, multiplyin... (by Ispil)
October 2014 Pages: 1... 3435363738
  Archived months: [sep2014] [nov2014]

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