General C++ Programming - August 2011 (Page 23)

what is the library needed for functions
 
I'm learning C++ from a slightly outdated book when I tried using functions it gave me a few weird errors. I'm sure I'm missing a library. please help thanks in...
[1 reply] : You need to post the errors. We cannot read minds. BTW, in C++, stdl... (by webJose)
SMTP
 
Hey! Can anyone please either link a source code that's an SMTP with Gmail or write one on here please? I can figure out how it all works after I get the sourc...
[6 replies] Last: Yeah, I opened all the links but had to go to bed (In thailand atm), s... (by the swift)
Help with Regex
 
Hello all, I have a bit of problem getting my regular expressions to work. I know that the expressions I'm using are correct because I've tested them in various...
[15 replies] Last: ne555 - I've just tried your expression and it works for my simple tes... (by andywestken)
Template <class T>
 
Hey guys. Could anyone tell me why I am getting a ton of undefined reference to... errors with this code below. thanks #ifndef POINT_H #define POINT_H...
[4 replies] Last: Thanks for the help. (by Teelnaw)
by mido22
i want help in problem
 
how can i solve that type of problems Corrupted Kamel has got a text document which was created on Microsoft Windows with an extension that does not work o...
[7 replies] Last: now i am not asking someone to solve hard problems for me i want only ... (by mido22)
Deprecated strings...
 
Say I create a set of strings like this, static char *SomeList = { "String 1", // this string deprecates "String 2", // this string deprecates...
[4 replies] Last: I tried const char* it didn't get rid of the warning. (by Azagaros)
Function not working in other thread
 
Hi, I am trying to run FtpGetFile function in another thread, and it not working correctly. That's how I create thread: _beginthread ( _putfile, 0, NULL ); ...
[3 replies] Last: One possible explanation is that each thread has its own stack. It may... (by agile)
What is wrong with my program
 
I am trying to run two threads simultaneously wherein one thread copies data from a file into an array and the other thread simply prints out a statement. I am ...
[6 replies] Last: I don't thing your semaphor class works. I recommend you replace it wi... (by andywestken)
Inverting Function Numerically
 
I am writing a library to handle quantities with units (e.g. metres, etc). Originally, units were described as SI units plus a numeric scale factor. However, t...
[6 replies] Last: Well the Richter scale and pH are also logarithmic IIRC I have no ide... (by helios)
by fsshl
invalid conversion
 
Dear c/g++ experts: invalid conversion from ‘int’ to ‘std::ios_base::iostate’ when I tried to compile a piece of code, from book which claimed good on...
[3 replies] Last: That's not a problem with the code, but a problem with Windows and Min... (by Duthomhas)
Understanding Semaphores
 
I am trying to model the Bounded-Buffer Problem. My code essentially creates two threads; one reads data from a file into an array and another reads data from t...
[1 reply] : See MSDN entry for CreateSemaphore, etc Also see related thread for f... (by andywestken)
to all great programmers
 
hello all c++ programmers ( RESPECT RESPECT !!!) i am a wannabe Computer science engg. i have to submit a simple project this year on c++ simple rules are ...
[1 reply] : How much do you know? (Say how long you've been learning and what is t... (by hamsterman)
by tition
Implement dynamically typed data
 
Hi all, I want to implement a dynamically typed data object in my project. The project implements a mathematical calculator in which different data types ca...
[10 replies] Last: Oh, I have misunderstood what assorted type is then - and I clearly do... (by tition)
by Tresky
Question on College Major
 
Hey guys! I am a junior in high school and I am starting to look at colleges to get a masters degree from and become a software engineer. Does anyone have a...
[2 replies] Last: I am starting to look at colleges to get a masters degree from and be... (by shacktar)
Searching within multi-word strings for one word, and returning the whole string
 
I am creating a library database where I read the authors and titles in from a file and store the info in parallel arrays. Then, I am trying to search for spec...
[5 replies] Last: No problem. :D Glad I could help! I'll take a raincheck on that drink.... (by Tresky)
by TweekT
I need help with these programs
 
So I need some help coding these two programs that im working on. I need them done by tomorrow and I'm completely stupid when it comes to this stuff. I'm not ev...
[no replies]
Bit-flag Confusion
 
Firstly, here's my code: typedef short HOLOBYTE, DOUBLEBYTE; typedef enum T_ENUM_HOLOBYTE { LOBYTE_CALL_FAILED = 3, // 0011 0000 LOBYTE_CA...
[3 replies] Last: I could move. :-) (by Duthomhas)
(C only, not ++) How to pass a formatted string to a function
 
Hi everyone. I hope my question can be answered here, because it excludes the ++ part of C. I have created a function that receives a string as a parameter, a...
[2 replies] Last: The standard library actually provides something to help you out. http... (by Duthomhas)
Writing to and reading from an array at the same time
 
Would that be possible? Say, data is being written to an array "arr" from a file AND data is being read from the array "arr" into another file at the same time,...
[4 replies] Last: I am trying to simulate Process Synchronization, wherein two threads/p... (by vasiqshair)
Compiling Trouble
 
Hi all, Sorry if I'm in the wrong forum for this but it seemed reasonable. So I'm rewriting a program for CUDA, and when I compile with nvcc -O3 or nvcc -O1 ...
[2 replies] Last: Dunno. But I did not post here just to say I didn't know. I am postin... (by webJose)
August 2011 Pages: 1... 2122232425... 29
  Archived months: [jul2011] [sep2011]

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