General C++ Programming - August 2012 (Page 24)

Need help with compiling error!
 
Ok so I have this project. I have got the coding part down, but I am having a compiling Error that I do not understand. Please help! Here is what I have to do:...
[4 replies] Last: nvm boss...worked like a charm..thanks again.. (by trex123)
by beakie
COS/SIN/TAN Source
 
Looking for source for the basic cos/sin/tan functions. Looked in lots of APIs header files and found reference to these in math.h several times but not the ...
[4 replies] Last: Just last clarification: the fact that it's an FPU instruction means i... (by KRAkatau)
trouble with coding time/ date
 
i am trying to write up the code for 31/01/2012 at 23:58 so that if you add 1 second it would change to 59 and if you add 2 seconds to it it would change to 1/0...
[3 replies] Last: I'm not going to do the work for you, but it should be very easy to tr... (by Disch)
need help with tree graphing, please!
 
**I really have no idea how to begin this. Any help would be appreciated!! I just need a start or an example to follow. thank you!! :D** Draw a simple undire...
[no replies]
My object has an incomplete type?
 
So I'm trying to create a program where I can create an account for whatever and set a password for it. I'm more or less of a newbie at coding in c++, so this ...
[6 replies] Last: Oh nvm I just fixed it haha thnx for trying guys! (by Bufflez)
Passing C++ Objects To Lua
 
Hey everybody ! I recently took a look at Lua and C++ and I thought how can I pass structs from C++ to Lua . Do you simply put everything in the struct in a ta...
[2 replies] Last: Thanks a lot ! I really appreciate your help ! ^_^ I'll grab a copy of... (by TwoOfDiamonds)
printf()
 
I jsut want to use printf() lib function as user defined function which function should I use to print data and string
[10 replies] Last: > I jsut want to use printf() lib function as user defined function >... (by JLBorges)
Trouble with memory allocation
 
I have an application that uses a char** to store char* returned from a function. char* someFunction(int size) { char* someChar=new char ; do something ...
[7 replies] Last: Thanks for the replies... i switched to using vector<char> and a vect... (by troutguy)
by Jakube
Matrix-class with Polynoms
 
For a mathematical problem I need to work with a Matrix of polynomials. So I want to create a class. For Polynomials I use the library polymul. #includ...
[5 replies] Last: Thanks a lot, I will try it tomorow. (by Jakube)
Read JPEGs formats only
 
How can I read JPEG file formats only using OpenCv and C++. Can anyone point me to a tutorial?
[5 replies] Last: Yeah. At runtime, the code is going to take a look at Desktop/img.jpg... (by Major Tom)
Output / input stream of external program
 
Hi! I want to build a software that's able to start a certain process. The software must be able to get every output of this process and send input to this pr...
[6 replies] Last: There is boost, however. Look for file descriptor. By the way, use pe... (by ne555)
by lyzerk
DWORD XOR In C#
 
Hello, Im trying convert one project c++ to c#. And i have question about XOR's. (DWORD*)(m_pPacket + woffset) = *(DWORD*)(...
[7 replies] Last: C# doesn't have pointers This is not true. http://msdn.microsoft.... (by closed account 1yR4jE8b)
hey guys, i need a good/pro c++ user
 
Hello guys, i need a pro c++ user for a job.. The reason is, that i play this old game from 2000-2001 called "command and conquer red alert 2" Which is a p...
[12 replies] Last: @henri korpela well somehow i have the perception that c++ is complic... (by cncviking)
how to loop a code a certain amount of time
 
For example a code a that reads the value of an L.D.R and then it executes a code to give it outputs. Is it possible to make it run 60 times exactly. I know t...
[3 replies] Last: or you can use for: for(int i = 0 ; i < 60 ; i++){ //your code } ... (by Sajjad Heydari)
C++ - Command line arguments - How to send an error message if there are no command line arguments given?
 
Hi, guys! The title of the topic pretty says it all - how to send an error message if there are no command line arguments given? Allow me to explain to what ...
[9 replies] Last: @viliml: sorry i made mistake in hurry... (by HiteshVaghani1)
Creating a timer in c++
 
Hi All, I am new to c++, I need a help on timers with the sample code,The requirement is that when some condition is met i need to start a timer, and when th...
[1 reply] : Search this forum for answer, because i am pretty sure it was written ... (by tath)
need help with algorithm! please and thank you! :D
 
Give an algorithm for determining, just by link hopping, whether a doubly linked list with header and trailer sentinels is empty (that is, do not make use of a...
[2 replies] Last: well if head->link -> tail and/or tail->link -> head then the list is ... (by closed account zwA4jE8b)
Help I get this ***glib detected*** double free or corruption
 
I'm getting this message when I run my code, but it happens really randomly, i have try with valgrind but it does not happens there for some reason I think that...
[2 replies] Last: Nvm I think I got it, (: (by Pedro Alonso)
by tsftd
issue with multithreading a function
 
So I'm rewriting a program to include multithreading (among other things), and I've got a strange problem: boost::thread alpha(preparray,&from ,&to ,&tol ...
[8 replies] Last: ^^ you're right, I probably don't. I tab at line 7 so it is clear tha... (by Zephilinox)
Help with algorithm please!! I need a cross reference
 
Give an algorithm for finding the penultimate node in a singly linked list where the last element is indicated by a null next pointer. (Describe, in pseudo-...
[3 replies] Last: penultimate means second to last, i.e the one before the end. I would... (by Zephilinox)
August 2012 Pages: 1... 2223242526... 31
  Archived months: [jul2012] [sep2012]

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