General C++ Programming - February 2012 (Page 14)

Interpolate Data
 
Here is what I have for interpolating: while (time.data() && m < (time.size() - 1)) { if (time >= x && time != time[m + 1]) { x0 = tim...
[no replies]
Irrlicht help with Code Blocks?
 
I am using Irrlicht with code blocks on a Mac osx. Whenever I try to run the Irrlicht wizard in code blocks I get an error that says "The path you entered seems...
[no replies]
FizzBuzz Numbers Assignment
 
...
[3 replies] Last: I figured it out now..! (by KaraPardue)
i needed help processing a file to memory in a VM
 
i needed help processing a file to memory in a VM. i needed help in the load function, i cant figure out how to process 2 hex digits from file into mem on the ...
[no replies]
program help please!!
 
I am not sure what I am missing or what mistakes I have but i need my out put to look like this: Sample input 1 2 80 97 5 69 79 89 99 58 7 60 70 80 90 ...
[1 reply] : Hi Please put your code in code syntax next time. You are expected t... (by therockon7throw)
Help with program. Combo of arrays and classes
 
I am attempting to write a program which will take and array declared and initialized in the main and set to an array from a class via a constructor. Here i...
[2 replies] Last: Use strings instead of char. Should be available if you include <iostr... (by howderek)
End of a vector
 
How would I make something like: while (!time.end()) {...stuff... } work, where "time" is a vector.
[2 replies] Last: you can declare a vector iterator then iter = time.begin(); whi... (by closed account zwA4jE8b)
Random Number With Limits
 
So basically I have to create this text based game in which a user fights a computer with three different weapons. The weapons are supposed to generate random ...
[5 replies] Last: Three things. One Peter87's reply is the correct way to put random num... (by howderek)
by jim744
expected initializer before ‘<’ token
 
I get this error: expected initializer before ‘<’ token on a template class function definition. template <class T> void Vector<T>::clear() { if(m_...
[15 replies] Last: I copy and pasted his code verbatim, removed the .hpp include from the... (by clanmjc)
best compiler for c++ 64 bit
 
hi, what's the best compiler for c++ language? i want to install it on win7 64bit.tnx
[3 replies] Last: You can install the Windows 7 SDK which has a 64bit compiler, then you... (by closed account 1yR4jE8b)
by Laveer
webBrowser issue...
 
I'm currently working on a project which involves a webBrowser, though for some reason every-time I add it to any form the application becomes un-usable for oth...
[6 replies] Last: You're reporting odd problems with programs for which we can't see the... (by kbw)
Failure to open file path specified by user
 
Peers, What can I do to correct this problem: This program is supposed to open a file specified by the user. My problem is that I can't get it to open the fil...
[3 replies] Last: Hi You have forget to save the data into output file , you may ... (by therockon7throw)
Delete duplicate entries
 
I have several vectors that are tied to each other. Using the "time" vector as a reference, I want to be able to delete duplicate consecutive entries from the v...
[2 replies] Last: I ended up just putting the values into a separate vector. (by pbhuter)
any Visual Studio mavens here...?
 
...so, I've been developing an app on the Mac platform, and very recently tried moving it over to Windows XP. (The IDE is Qt, BTW.) I built using MinGW and it w...
[6 replies] Last: Thanks for the replies, guys. I changed my path variable; it now seems... (by mzimmers)
Perfect forwarding problem
 
// base class class resource { protected: std::string name; public: template< typename TStr > resource(TStr&& n) : name(std::forward<TStr>(n)) {} ...
[13 replies] Last: > According to Scott Meyers it does not need a cast. First ask Scott ... (by JLBorges)
libwt -- libboost_signals linker issues
 
Hello all, I am trying out the wt web toolkit.. but am getting some compilation/linker issues. I compiled the hello witty app (http://www.webtoolkit.eu/wt...
[3 replies] Last: oh yes, that worked! thank you very much :P (by strongdrink)
cut jpeg file using coordenates
 
Hi guys, trying to do a AP Program using artoolkit, im doing a function who will recive the coordenates of marker and a jpg file, cut the jpg using the coordena...
[no replies]
by Laveer
opening file in another folder?
 
I know this may sound fairly retarted, though my app keeps getting an error when I do so. I can open the file if it's in the same folder but I can't do it if it...
[5 replies] Last: Figured it out, I just wasn't complying what Texas stated correctly. (by Laveer)
by Rina
Problem with Reading Input File using struct Variable
 
Hi, I am having problem with getting input from text file and display the output in console. My coding works like this. First it reads input from text file an...
[4 replies] Last: I dont understand how can I shift the location of file stream? Pls giv... (by Rina)
getting your programme to search online sources
 
Hi everyone do you know of any code or lines of code that allows a programme to search the Web for online sources i have been looking for quite a while and have...
[1 reply] : Hi See Boost documantation and use manual, it may offer some solution... (by therockon7throw)
February 2012 Pages: 1... 1213141516... 43
  Archived months: [jan2012] [mar2012]

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