General C++ Programming - July 2011 (Page 14)

Win32 API FileOpen used in DirectShow
 
Hello everyone, I've implemented a simple FileOpen dialog based on Win32 API into a DirectShow filter of mine whose property page is also created by using Wi...
[3 replies] Last: 1) Thanks, I'll keep that in mind. 2) If adding the A forces ANSI, th... (by Squall83)
by alhanz
Extract data from textfile to calculate amount.
 
Hey guys I got a textfile, which contains both positve and negative input of the data. Example: Description:Amount:Transacted Date Salary:1000:1/1/2011 Transp...
[10 replies] Last: Solved thanks!! One last question, how do I reached the last delimiter... (by alhanz)
by Janman
DirectX or Game engine?
 
Hey! I want to be a programmer one day, not necessarily a game programmer. I have learned all the basics in C++, and now I don't know if I should learn DirectX...
[2 replies] Last: I also heard that you needed to get involved in knowing the Win32 API ... (by mcrist)
by HenriK
Creating file packaging GUI?
 
Hello once again, it´s me here who knows how manieth time. Without any further ado, I´d like to ask: " How can I implement GUI for storing files ". You know, ...
[4 replies] Last: This is .grp file maker for old, classic video game, Duke Nukem 3D: ht... (by HenriK)
Where Can I find everything? on C++.
 
Where can I find all the commands, identifiers, and everything there is... in C++ Language. The whole library of C++? Every single command.
[8 replies] Last: I use GCC 4.6 and it implements most of the new features of c++0x. Als... (by Galik)
An interesting question?
 
I am on a Mac using Netbeans 7.0. I was wondering how I could use SFML. There aren't any instructions for Netbeans on the website. Please give simple, detailed ...
[1 reply] : I can't imagine that installation would be so different on Netbeans th... (by ModShop)
by mle
hashtable an array of vectors
 
Hello, I'm getting an error code saying that push_back is not a function of the vector //from HashTable.h vector<Entry> table ; // an array of vectors<Entry>...
[7 replies] Last: You can do table.push_back(some_Entry) to add entries to the table, o... (by mle)
How can i teach my value type?(Our self method.This is not typeid)
 
#include <iostream> template<typename Defuse> Defuse Defuser(Defuse a){ int * b; char * c; float *d; if(b=&a) ...
[2 replies] Last: Just create three overloads of Defuser(), one for each type. There is... (by jsmith)
Important libraries
 
OK so I noticed C++ even with boost lacks lots of essential libraries. What are the best libraries for: - GUI - Graphics/bitmap - Networking - Math and geom...
[3 replies] Last: GUI: wxWidgets by far. Able to run on almost any platform, provides hi... (by TheCreator)
Writing a small shell program
 
in C. This is the start of the semester and my course is called Operating Systems. I have a HUGE project due at the end of the semester, but first I need to get...
[6 replies] Last: #include <stdio.h> #include <signal.h> #include <sys/types.h> #inc... (by vasiqshair)
Urgent Help with simple task?
 
How would I do this? "Once you've downloaded and installed the files on your hard drive, copy the contents of the SFML-x.y/lib/xcode directory to the /Librar...
[3 replies] Last: I figured that out but I have no idea where /Library/Frameworks is (by TheCreator)
by cdd
Member Function Trouble
 
HI, thanks for the help!
[no replies]
How do you store your libs?
 
People usually throw their libraries on just 2 folders, 'include' and 'lib'. Isn't it easier to have a folder for each library or I'm missing something?
[1 reply] : In Linux libraries are stored in: "/usr/lib" "/usr/include" Window... (by Turbine)
Arrays, print user input?
 
I'm trying to prompt the use to enter up to ten integers, then print them back out on the screen. If the user enters -1, the program should only print what the ...
[3 replies] Last: You are looping through all the array. if you don't initialise a vari... (by tinkydwd123)
Unblocking sockets?
 
I don't see the point in of unblocking sockets in TCP clients. Using fork() , I create several instances of the program (children) each time I get a new connect...
[1 reply] : It depends. If the child process has absolutely nothing else to do ot... (by jsmith)
The most interesting question of the day?
 
I was wondering how audio and video input/output was possible. Does iostream support this? If not, how would I go upon doing this? Video is not that important,...
[2 replies] Last: You have to look up your operating system's documentation on how audio... (by jsmith)
Initialization of Pointers
 
Hi !! I recently came across a code that i didn't really understand. static char *err = { "Cannot Open File\n" , "Read Error\n" , "Write Error\n" , "Media F...
[1 reply] : Technically neither is valid, but for reasons outside of what you say.... (by jsmith)
by kev82
Starting background process
 
I have a console application that I need to do some checking of its command line arguments, I then need it to print some output and if everything is ok, fork in...
[3 replies] Last: No, windows does not have fork(). I never use exec in windows anyway,... (by modoran)
operator overloading performance
 
Hello, just wanted to ask You guys, what do you think which one will perform better: // Matrix with operator overloading to access to its elements c...
[4 replies] Last: Great hints Athar, thank You very much ! (i should learn the assembly ... (by Avithohol)
Using const and volatile simultaneously
 
I have heard and read that const and volatile can be used simultaneously for member functions and variables but i didn't exactly understand the purpose of u...
[1 reply] : A data member of a class may be declared volatile because, for example... (by jsmith)
July 2011 Pages: 1... 1213141516... 30
  Archived months: [jun2011] [aug2011]

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