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

Another thread question - separate threads/objects
 
I'm (fairly) new to c++ (been programming in Java and high level scripting languages for a while now.) I'm working on porting a java program to c++ which needs...
[4 replies] Last: @helios: thanks again! I'm wondering, can you recommend a book or oth... (by David Christensen)
Nothing will output with my coding!!
 
After the user inputs the date, month, and year, nothing will output. Can someone help please? #include <iostream> #include <cmath> using namespace std; ...
[1 reply] : You are asking for input from user again cin>>getCenturyValue; cin>... (by BHUPENDER KUMAR)
code help for matrix multiplication assignmemt
 
Hi to all, I am struggling to solve my assignment. Please post your help with codes only if possible as I have finish it asap. Assignment: Write a prog...
[no replies]
moorec's asdf dir #2
 
In this example, I appear to have just read Exceptional C++ by Herb Sutter. Enjoy: #include <iostream> #include <memory> namespace pimpl { // An ...
[1 reply] : This example appears to be a merge of two others: the pimpl idiom and ... (by moorecm)
moorec's asdf dir #3
 
In this example, I appear to be playing around with template template parameters. Enjoy: #include <iostream> #include <list> // // template class wrap...
[no replies]
moorec's asdf dir #1
 
I was looking through some old directories this afternoon and stumbled upon a few programs that I had written and saved for reference. I figured it might be fu...
[no replies]
Inspect the Top Element of a Stack
 
My code for inspecting the top element on the stack has flaws but I prefer not to use the STL implementation for educational purposes. Is there any other way to...
[3 replies] Last: That may not work since im not reading in from a file (by onetwothreeme)
Doubly threaded linear link list help!
 
Can someone explain to me in their understanding of this topic doubly threaded linear link list ? What is it ?and maybe illustrate code to illustrate your expla...
[no replies]
POST request binary content
 
Hi everybody, I'm programming in C and I'd like to make a POST request to download a file. But I'm not sure how should I insert the content of my file. Header...
[1 reply] : Yes, you can, but you cannot use strXXX APIs because the binary file's... (by EricDu)
Call VS C++ WForm function from C file
 
Hi, i get this when I compile my project: 1>object.obj : error LNK2028: unresolved token (0A000009) "void __clrcall set_name(struct DENIB_MESSAGE *)" (?set_n...
[1 reply] : Looks like you define set_name() in Form1.h, then you need to include ... (by EricDu)
by kw1991
few questions
 
i have a few questions that i cant answer. my program is for inputting student details into a file then searching for certain ones. here is my code: con...
[no replies]
question about hashmap insert (in a strange way)
 
using stdext::hash_map in windows as examples, assuming I have class A with parameter int c; hash_map<int,A> myMap; And I read some codes like this wh...
[3 replies] Last: I think maps work in this way at least, vector/list/set not. But I nev... (by EricDu)
Randomly select strings from a list
 
I have an excel spreadsheet with 14 columns of strings. Each column has 2-10 strings of letters. I want the program to randomly select strings from each of the ...
[no replies]
Compressed Strings
 
Hi, I need to compress a string to find out if a word is a palindrome (same as reversed like race car). So I also need to do the reverse of it. I only missed...
[3 replies] Last: char compressed ; int j = 0; ... compressed = c; j++; ... compressed... (by hamsterman)
help me pleaseeee.....
 
i need to show, the result like this... ------------------------------ example : insert date 7/5/2000 insert date 1/3/1999 insert date 12/2/2003 the earl...
[2 replies] Last: Duplicate: http://www.cplusplus.com/forum/beginner/52493/#msg284708 ... (by closed account zb0S216C)
Execution Control for Embedded Python Interpreter
 
I would like to embed the python interpreter, but not in the way most other people do. I don't need to multi-thread. What I need is control over when execution ...
[no replies]
templates and mulit dimensional vectors
 
Hi I'm trying to write a function or set of functions that will find the minimum value of a multi dimensional std::vector with any number of dimensions. I'd...
[13 replies] Last: There are of course disadvantages - it becomes much harder to resize ... (by helios)
HELP ME PLEASE do-while
 
Hi Everyone, i'm newbie at C++ Can anyone help me to make coding in the end the results show like this... Insert date = 20\12\1910 Insert date = 20\12\19...
[5 replies] Last: @packetpirate Can you help me with this C program? i want to make co... (by Hiro Mizushima)
how to call function of one .cpp to another .cpp file
 
hi can any one please give the procedure how to call function of one .cpp into another .cpp file. I want the changed values in that .cpp into another cpp fil...
[3 replies] Last: //A.h class test{ public: int *a,*b; void assign(int &a,int... (by hamsterman)
by sunaj
unresolved external symbol
 
Hardly a new error message :) I would really appreciate some help in cracking this nut thought... I have 2 projects; the first contains a header file and a ....
[3 replies] Last: If you don't specify the language used, the compilers will guess based... (by Moschops)
October 2011 Pages: 1... 1920212223... 36
  Archived months: [sep2011] [nov2011]

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