General C++ Programming - October 2011 (Page 26)

ur opinions and development
 
I want to know how to declare the = operator ... And i want to ask y the default constructor does no...
[5 replies] Last: I'm not sure how to answer that, obviously adding together uninitializ... (by Computergeek01)
Function that Selects characters in a string of char array...
 
This function is suppose to take an array of char type as argument, and select certain characters (i...
[2 replies] Last: arr1 not defined in ur programme And u should make a loop to change th... (by Hamza Abuzahra)
Priority Queue not popping out the topmost element. Weird!!!
 
Hi, For my Discrete event simulation assignment, I was advised to use priority queues. I was a...
[7 replies] Last: Have you still got that == comparison between two doubles ? This will... (by mik2718)
copying and repopulating a struct instance with pointers
 
I am working on a tool in windows c++. I have a c++ structure which has the following format ty...
[no replies]
How can i write this formula in c++?
 
i am beginner in c++ and i am solving problems. i don't know how to write these formulas in c++ code...
[3 replies] Last: Tell me how to write first one formula Haha, I know you said pleas... (by ultifinitus)
Template Class not working
 
As an assignment at the beginning of my class I had to create a class to read in integer form a file...
[1 reply] : Your read_array doesn't really stand alone. It uses a global in arr... (by kbw)
Concept behind Accessing Function via a Function: Object.function1().function2();
 
Generally we access a member function (say fun1()) of a class(say ClassA) as- 1. ClassA a; //De...
[3 replies] Last: Typically you would return a reference, not a copy. Here's a more t... (by Disch)
by drew99
Vigenère chiper
 
I'd want to know the principle that allows to obtain the encrypted character from the clear and the ...
[6 replies] Last: I want to find the characters corresponding to 'hello', when I use the... (by drew99)
Inheritence Issues With Templates
 
The following code when compiled with gcc declares that in the partial template specialization of Ve...
[4 replies] Last: how do you declate the using function, in a .cpp file so far visual ... (by Blessman11)
How to program a robot in c++?
 
hello im 14 and i have joined a robotics team and they use something well easy to program the robots...
[1 reply] : You are at the perfect age to be getting into this kind of stuff, book... (by Computergeek01)
by namcs
Member method of NULL pointer
 
Hi all, Recently my friend found out that the following code wouldn't crash: struct aStruct { pr...
[12 replies] Last: Note that this might crash or do weird things (if, for example, the fu... (by Disch)
Do you know any books that can help me program a 32 bit os?
 
i want to make a mini os that i can boot from my flash drive i just want it to say this an os.
[1 reply] : The "difficult" part of making an OS after you have your framework don... (by Computergeek01)
Constructor help!
 
struct BinaryNode { Comparable element; BinaryNode *left; BinaryNode *right; BinaryNode(c...
[3 replies] Last: This is an initializer list as Nisheeth mentioned and you should use i... (by eypros)
by Srija
Linked List Datatypes
 
Hi.......... Is "Node" is a data type used in linked-list programming?????????
[2 replies] Last: Thanq for the reply (by Srija)
Accesing Private members of a derived class
 
Hi, I have a doubt regarding, the accessibility of the private member functions of a derived cl...
[2 replies] Last: Thanks sloppy9, for your response on this. (by sandipan)
command line parameters with "-" switch
 
Hi I am still learning C++ & I think I am missing something very basic here. Hope someone can he...
[2 replies] Last: The problem is here: if ( (strcmp(argv , "-h")==0 || strcmp(argv , "-... (by modoran)
Does an array return a value?
 
Hello all! My question: #include <stdio.h> int main() { char ch ="A dog is running out!...
[5 replies] Last: Thank you, Disch! I know why the 2nd for()-loop is working now! (by make026)
C++ Through Game Programming (Help me please?)
 
Okay to start off, I am a new to programming, this will more then likely be a simple question to ans...
[1 reply] : One last thing is, some of the programmers I know want to use arrays ... (by sohguanh)
Stacks
 
I was in the process of this program and I'm havin a of problem with my temp stack. Basically, If th...
[1 reply] : your push operation of stack don't push any item into your define temp... (by beginning)
want to "harden" a file reading utility: (1,2)
 
Hi, all – I've written a small routine to populate an integer array with values from a file: ...
[31 replies] Last: I apologize for leaving out a detail: the only member in SocReg that g... (by mzimmers)
October 2011 Pages: 1... 2425262728... 36
  Archived months: [sep2011] [nov2011]

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