General C++ Programming - November 2011 (Page 11)

Comparing single element to all prior elements
 
I'm trying to develop code that will take in a bunch of digits (all 1-9), and place them all in an a...
[4 replies] Last: Thanks you guys. I didnt have my compiler at the computer i was at so ... (by jcbrunelle13)
Wrong example of using feof()
 
http://www.cplusplus.com/reference/clibrary/cstdio/feof/ This page contains the famous but wrong pa...
[1 reply] : I see what you mean. I think we have to test the input received fro... (by SIK)
need help on sorting
 
need help~
[1 reply] : http://lmgtfy.com/?q=sorting+algorithm (by Stewbond)
by DBarzo
About abstract classes inheritance
 
Hi, I have a little problem with a tree of abstract classes. My interfaces definitions are: ...
[1 reply] : Ok, I answer to myself! :-) I simply forgot a "virtual" keyword: s... (by DBarzo)
Problem for linking fortran with c++
 
Hello I am currently using a fortran routine from a library ina C++ program, so I can't change it...
[1 reply] : Yes, the functions need to be static. On top of that, you may need to... (by webJose)
convert to upper
 
have the following: char input; cin.getline(input); trying to check if lowercase input, tryi...
[4 replies] Last: Original Post: [quote=wantyoubadly] have the following: char input;... (by webJose)
by tony b
strings corrupting?
 
Hey its been a while since i'v done anything with c++ but i'v just started to get back into it, just...
[2 replies] Last: Actually, to use wide strings the code must explicitly call the Wide v... (by webJose)
HELP TOPIC: Known multi-dimensional array used in function
 
Hello, I'm fairly new to the c++ programming language, and I have come across a slight problem whi...
[5 replies] Last: Ok, just to let people know, I figured out what I was doing wrong. Wh... (by quillfreminenti)
how do i move obj on the CMD? and what is enum?
 
hello everyone, so, i have this Exe that need to be done in 10 days from now. i have time, but ...
[no replies]
About advanced C++
 
I want to know more about C++. Presently my knowledge ranges from basic functions to classes to dat...
[5 replies] Last: Thanks a lot everyone. I want to write more and more code.Tell me some... (by nitingupta)
Addition
 
Why the equation like this: (for x = 5) int result = 2*x+(++x+3)*3 equals 37 ???? not 39 (2*5+...
[5 replies] Last: The expression 2*x+(++x+3)*3 is an error , classified as "undefined... (by Cubbi)
Address of Functions
 
Somewhere (perhaps in C++ : The Complete Reference by Herbert Schildt)I read that the functions also...
[4 replies] Last: cstdint is a C++11 header file, equivalent to C's stdint.h http://en.c... (by Cubbi)
Classname* variableName = (Classname*) variableName2
 
Hi Guys, I've taken it upon myself to learn C++ and I think I've got a pretty good understanding of...
[1 reply] : It's a c-style cast. It's used to cast the type associated with the id... (by closed account zb0S216C)
by dm6
Hi ! I really need some help!!!
 
Im still a newbie here, and just stuck with a little something.. I need to do a for loop comman, ...
[3 replies] Last: perfect! thanks man!! heaps!!! (by dm6)
Problems with inherited constructor variable initialization.
 
Hello! (Before I get into asking my question, please note that I am a very inexperienced programm...
[7 replies] Last: Probably no one is reading this anymore, but in case anyone is I shoul... (by supernerd)
how to print bottom to up
 
must do classes how to put it in all?  A constant global variable SIZE with value 8.  A cl...
[2 replies] Last: ya i know classes i tried to put in the class. but im not sure i get i... (by xenon69)
Text base game
 
I've been working on a very simple text base game. Ive set up the Classes of Priest,Warrior, Mage i...
[5 replies] Last: Ah, that's a good point webJose . All those methods should be virtual... (by Mathhead200)
Programming Buddy
 
I am looking for a programming buddy to help me as I continue to progress in the field. Add me on go...
[1 reply] : Sure, let me know what you want to do: http://mathhead200.com/?dir=con... (by Mathhead200)
First name as end line, last name as head line.
 
must get first name in end line ,last name as head line. my solution like this. which i cannot get...
[no replies]
new to c++ and functions assistance please?
 
Well i'm writing this for my c++ class in school and I just would like help with this and please don...
[8 replies] Last: Because i'm not finished yet? My teacher wanted it all written in func... (by puddinglord)
November 2011 Pages: 1... 910111213... 47
  Archived months: [oct2011] [dec2011]

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