Beginners - October 2009 (Page 11)

Using the getopt_pp library
 
I've been trying to use the c++ version of "getopt" named "getopt_pp" in a homework assignment. Afte...
[2 replies] Last: Thx for the reply, found a standalone header file called getopt_pp_sta... (by Nature1)
Asynchronous in C++? Running multiple functions simultaneously?
 
I'm making a game, and it'd be awfully useful to have multiple functions running simultaneously, but...
[5 replies] Last: Very true, and I actually managed a solution without multi-threading. ... (by Archaea)
additional cpp files
 
Really n00b question... I've seen programs with more than one cpp file. I use lots of h files, but...
[2 replies] Last: http://www.cplusplus.com/forum/unices/2313/page1.html#msg8761 I had a... (by Duthomhas)
eof bit (what is it?)
 
When using a file stream I test for .eof(); is the eof() bit data within the file or a bit that fstr...
[6 replies] Last: A holdover from CP/M is to mark the end of a text file with ^Z. DOS sy... (by Duthomhas)
Need A good C++ compiler
 
I need a C++ compiler, something similar to C++BuilderX I used to have it on my old computer, a Win...
[2 replies] Last: Thanks for the link (by mustachman)
Yet another QWERTYman(tm) problem (with fun and stuff!)
 
#include <fstream> #include <iostream> #include <limits> #include <string> #include <vector> u...
[8 replies] Last: I tried your program, selected option 1, (New File), selected one Not... (by guestgulkan)
by JRevor
Virtual methods
 
I have a class called Celula, which has a virtual method called simbolo virtual char simbo...
[4 replies] Last: Thanks!! (by JRevor)
Making my own String class:
 
I am writing my own string class library, that contains basic functions of the string class, along w...
[6 replies] Last: yeah i managed to fix the overloaded + operator MyString operato... (by xxhashxx)
Want programming practice problems
 
Think Like a Beginner to Become an Expert hi all, I am new to c++, and i want to expand my k...
[2 replies] Last: thanx Bazzy! (by Asad Abbas)
Function to search an array that returns a boolean
 
Background: Each array represents a mathematical set (in this case, a lottery ticket). The inSet fun...
[3 replies] Last: The problem is that you're not breaking the loop once you find that th... (by helios)
by wtf
All I want to do is scanf and printf
 
but it aint working. I'm trying to change all the cins and couts from my program to scanfs and p...
[16 replies] Last: Clarification: I was saying "no" the using %s without a number like %... (by firedraco)
array initialization problem
 
hi everyone! int num=6; int s ; the compiler says:'s'unknown size.why this way cannot wor...
[4 replies] Last: After i have a try ,i find the std::vector is very strong.(thanks also... (by huzhanchi)
Where's the exe? o_O
 
Huhu, I have created a small app but I am unable to find the EXE-file. Where are they located? c...
[4 replies] Last: Argh...found my mistake. You have to look in the debug folder in mydoc... (by Basinator)
Move mouse cursor on a multitouch screen
 
How can I move the cursor of the mouse on the point I touch in a multitouch screen?which library cou...
[no replies]
by Vexlaz
Some trubble whit the sting class
 
Hello fellows. Im a novice programmer trying to learn c++ to help me in my work with robotics. Its...
[2 replies] Last: Okey thanks:) i did think about that. But i thouht i would be bad prog... (by Vexlaz)
Inline failed
 
I'm working on a project, and I'm getting a pesky error: Inlining failed in call to 'Element::~Ele...
[7 replies] Last: Yeah it is, but I was just testing ~Element() at that time. It really ... (by demosthenes2k8)
deleting a menu item
 
I have a set of menu items from which a user can select multiple items from. I want the user to be a...
[4 replies] Last: @andrew9514 Read this article: http://www.cplusplus.com/forum/article... (by Bazzy)
by Husker
User Input Problem
 
My program asks the user to enter an int of some range. If the user inputs an alpha character, my p...
[1 reply] : This article explains how to solve your problem: http://www.cplusplus.... (by Bazzy)
My book says this shouldnt compile, but it does?
 
#include <iostream> int main(){ int i; std::cin>>i; int p ; for(int j=i-1;j>...
[15 replies] Last: Is non-standard. This is enough to be avoided (by Bazzy)
by Bv202
Virtual destructors
 
Hi, I understand that, when you delete a derived object, first the derived destructor, then the b...
[9 replies] Last: If a base class's destructor is virtual, the derived class destructor ... (by kbw)
October 2009 Pages: 1... 910111213... 25
  Archived months: [sep2009] [nov2009]

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