General C++ Programming - September 2013 (Page 13)

delete last node in linked list
 
Help me write void deletethelastzero(List *); EX: 456789000-> DELETE THE LAST ZeRO 456789 102505000-> 102505 Thanks you very much ! My code : ...
[no replies]
by heidiK
Difference between # and ##
 
Hello All I know that the ## (double number sign) operator concatenates two tokens in a macro invocation e-g #define ArgArg(xyz, abc) xyz ## abc...
[3 replies] Last: Thank You Very Much JLBorges Just found two more Links http://msdn.... (by heidiK)
3 ways of modifying arrays??
 
Until now, I thought that there are 2 differnt ways by passing arrays into functions, so that you can modify them (http://www.cplusplus.com/forum/general/79388/...
[3 replies] Last: > Ok, thanks. I didn't understand what you mean with there are no matr... (by JLBorges)
Hotel Management Program
 
I'm currently working on a hotel management program in C++. There are no errors during compiling of the program although there is one logical error, the solutio...
[no replies]
Read the numbers in a file while ignore text?
 
I want to write a c++ code, which will read in a file like this: A: 10 B: 20 C: 30 while in the code, I would need the value of A B C, how can I let the cin i...
[5 replies] Last: If the text does not contain an embedded : , except as the last chara... (by JLBorges)
need a little help..
 
Hello :) im starting to learn c++... I have been given two tasks to do for my class. i made first one. it was to write a program that finds the middle letter of...
[1 reply] : What if the word have even number of characters, can you place the ent... (by eyenrique)
Fill in the blanks - OOP communication
 
I have a 3rd party working on a system for me and they've delivered a working vxWorks image with binaries that run their software. They've also provided me wit...
[2 replies] Last: My current thought is to implement ParameterSet like so. The only tri... (by Stewbond)
by heidiK
dynamic_cast does and prints what?
 
Hello everyone Could anyone please help me with this online interview question? Object1 and Object2 are the names of two different classes. The Class ...
[5 replies] Last: Thanks very much maeriden (by heidiK)
Please help me regarding C++ About Array (Palindrome)
 
Hi I badly need your help im having a trouble creating this program this is the problem: Input: One or more words that may contain all possible characters ...
[2 replies] Last: So far this is the code that ive written. //main do{ cout << “Enter... (by waffle200)
alphabetical sort
 
I have a 18000 words document, each word on its own line. Can somebody show me a way to sort them in C++, please?
[1 reply] : You could load the file into a sorted container (set<string> for examp... (by Cubbi)
help with homework
 
i need to make a atm like program for my college class. i cannot get this thing to work. i'm not a programmer so bear with me #include <iostream> #includ...
[1 reply] : here, i dont know if the supposed output but here... #include <iostre... (by fangirlkyuzizi)
pass va_list to another function
 
I want to pass va_list to another function, how can i achive this? Is it possible or not ? Thanks & Regards Karthick.R
[1 reply] : Duplicate at: http://www.cplusplus.com/forum/beginner/111261/ (by Catfish4)
Help me write funcion deletenumber
 
I Tried but still not done ! hope you help me...Thanks you very much Ex: 00042312 ->> delete the first zero 42312 0023014 ->> 23014 My code...
[1 reply] : At first you declare function deletethefirstzero as a member of List... (by Null)
Help with deleting a string object in vector
 
Here's my code so far: case DELETE_TITLE: std::cout << "Game to remove from list: "; std::cin.ignore(); getline(std::cin, gameTitle); for (iter = ...
[1 reply] : why didn't you use if (gameTitle == *iter) { std::cout << "... (by kulkarnisr)
why i am facing this error ?
 
why i am facing this error in my code ? again and again ! how can i get rid of this? Error1 error LNK2019: unresolved external symbol "public: __thiscall C::C...
[1 reply] : You have not defined the constructors... (by kulkarnisr)
header file failed to pass
 
I have a.h as follows namespace one{ namespace two{ enum Filter { GRAPE, COSINE, SYNC }; } } If I do this in another header file b.h #include <one/tw...
[3 replies] Last: I saw the culprit. I copied the source to a text editor, saved and eve... (by dokuboyejo)
Text file reading problem
 
This is my code, its judge the content that user input is correct or not, if correct, display those information. I want to modify on it to make it display all i...
[no replies]
linked list implementation
 
I made linked list and it needs to call these functions and implement the list. It compiles, but crashes when I run it. Any solutions? #include <iostream> #...
[no replies]
prime number test.
 
#include <iostream> using std::cin; using std::cout; using std::endl; int main() { int number; int count=0; while (true) { cin >> number;...
[2 replies] Last: @flony1 Your code prints out prime numbers from to the number specifie... (by Danny Toledo)
std::map, access key
 
Hi, I have a "fairly" large, std::map. Is there a way, to get the key of an element, by position? e.g., something like, map.at(i).getkey Than...
[5 replies] Last: Yes, what I actually want is a structure, where I can access values b... (by cire)
September 2013 Pages: 1... 1112131415... 36
  Archived months: [aug2013] [oct2013]

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