General C++ Programming - August 2010 (Page 9)

by jzone3
Open program on different computer
 
Why am I not able to open a .exec on a different mac? I even tried sending the other computer the wh...
[3 replies] Last: i said mac because the program I made was an .exec not .exe what are ... (by jzone3)
by piotr5
can a compiler figure out the correct type?
 
will the program work as expected on all compilers when I write something similar to: template<ty...
[6 replies] Last: Previously I wrote: [quote=guestgulkan]By the way the two functions c... (by guestgulkan)
byte-swapping - is this efficient?
 
I'm looking to implement host-to-network byte swapping (and vice-versa) which can be used seamlessly...
[8 replies] Last: Are you sure the builtin swap is actually used? My tests show that it ... (by Athar)
Chatbot AI
 
I want to make something like a chat bot, one that learns from user input, becoming smarter overtime...
[3 replies] Last: Here is one to begin with http://en.wikipedia.org/wiki/Boolean_algebr... (by EverBeginner)
by eye51
Passing vector to Constructor by Reference
 
Hi, I want to pass vector to constructor by reference. This is mainly meant for very large size dat...
[5 replies] Last: Hi J Smith, Thanks for your reply. Your suggestion solved my prob... (by eye51)
by adam42
Unusall decleartion
 
I have been given somd source code of a program and I am trying to understand how the program works ...
[5 replies] Last: Thanks. I think I understand it now (by adam42)
by onako
RAM memory consumpion
 
I'm implementing an application that should decide whether to move computations to external memory,...
[1 reply] : C++ does not provide anything like that. If anything does, consult yo... (by jsmith)
Networking with SFML
 
Hi! I have been looking into the SFML libs for a while and im currently learning TCP IP connect b...
[3 replies] Last: Anyone? (by Melander)
Picking up objects in games
 
I'm attempting to develop a game, through the use of game maker (i'm not allowed to use any other pl...
[5 replies] Last: any time. (by Seraphimsan)
a sort function
 
hi im new here Im searching for a function that a letter can place at end of the word in the prog...
[2 replies] Last: Hi, What you're doing is the first step of block sorting (i.e., w... (by rwan)
How to create background timer?
 
Hello, I am writing an application in C++ where in need to perform a sequence of operations based o...
[1 reply] : http://www.cplusplus.com/reference/clibrary/ctime/time/ you can als... (by wenqiang)
Making Real password
 
hi, Any body please let me know are there any ways to take the password in '******'(asterisk key) i...
[3 replies] Last: Your problem is you're adding the backspace character, '\b', to the pa... (by xabnu)
how to find mode from a vector of ints
 
Hi everyone! I have been using this site for a bit now and I can't do any studying without it. I...
[15 replies] Last: No problem! Thanks for the post onto the mp3 project lol it seems a LO... (by jackson)
Classes
 
I was wondering if you could create an object( class Object{} )with out declaring it( Object dec...
[2 replies] Last: ...Yes? void *object=malloc(n); There you go: n bytes to work with... (by helios)
by shenh
What is the meaning of such an constructor?
 
I have a sample template class, but do not understand one line within it. template<typename T> ...
[3 replies] Last: Thanks R0mai, and Kyon for your excellent example. I understand now. (by shenh)
#include <string> ??????
 
What does #include <string> do??????
[1 reply] : Google is your friend. http://www.cplusplus.com/forum/general/4202/... (by DaSpirit)
How do I use a template in a class NOT the main() method?
 
I'm trying to use the blitz++ matrix library in my code (http://www.oonumerics.org/blitz/) but am ge...
[5 replies] Last: I probably not making myself clear, but I have found the answer. this ... (by CodeBugs)
a queue of references
 
Assuming I have a stl Queue like this MyClass queue<MyClass&> I used queue<MyClass*> before, ...
[1 reply] : you can't store references, references are just a way of passing data ... (by quirkyusername)
by Gianks
Safe Dynamic Library Execution and unload
 
Hi all, i've to make an introduction of what i am doing before start making questions. The goal ...
[4 replies] Last: Hello Gianks, No, it is not unless to look through all the code com... (by EverBeginner)
Escape sequences
 
I'm currently writing an instant messaging program and I need a way to specify what kind of data is ...
[6 replies] Last: That doesn't work, though. How can the program know what characters ar... (by chrisname)
August 2010 Pages: 1... 7891011... 20
  Archived months: [jul2010] [sep2010]

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