Beginners - July 2010 (Page 29)

by kaduuk
Using tolower on a string (1,2)
 
Hi guys, I'm writing a program, which asks questions to the user, who then awnsers them. When the user awnsers it, I first want my program to lowercase al...
[28 replies] Last: Thanks so much guys! It worked :D The program now runs and compi... (by kaduuk)
edit a binary file
 
hi all, i've been trying to edit a binary file so can i use seekp to be at the position where iwant to edit and then use put() to edit or this will just add a ...
[6 replies] Last: @Galik thanks so much (by mostafa44)
Install Borland compiler in wxDev C++
 
Hello, everyvone. I wish programming in C++. I have got wxDevC++ for IDE and GCC compiler. But I wish using wxDevC++ and Borland compiler (5.5). It is posible...
[13 replies] Last: m4ster r0shi: I tried cfile << uime; but it doesn't work true. Tomor... (by Anon777)
fstream, path in a variable, how to?
 
I'm writing a program that reads from a file, but I'd like the path to the file to be dynamic. I created testing variables first to see if I can even get them t...
[6 replies] Last: single quotes are for single characters or integers, double quotes for... (by Bazzy)
A simple question ( I think )
 
How do you make a comand to be executed if the user has suffient privileges to do so using a my sql table and c++ ? I.E Users types in @goto XYZ but has to h...
[no replies]
by bp1234
What file types can c++ write to?
 
I've been working on a large array. I think I've finally got the array itself working, but I'm unable to open the file in a readable way. I tried to write it t...
[7 replies] Last: For writing a xls file, you should do this: ofstream xls_Example("... (by majidkamali1370)
by ArchV
A pointer for function
 
Hello, I am having problem with this code (CPP), i can`t understand why i cannot refer a pointer function. Anyone can help me and can say me the correct way? ...
[3 replies] Last: Thanks guys this was very useful (by ArchV)
New Libary's
 
I recently downloaded the Allegro libary but I'm not sure where to put the file and how to get c++ to open it. Any idea's?
[2 replies] Last: usually you should put the main .dll in the system32 folder (windows) ... (by jammas615)
Need some info on a file
 
I was wondering what all files this program accesses, and any other info you could tell me about this program.. The program is in the link below. www.theland...
[1 reply] : ! (by Galik)
nested classes
 
Hi, can anyone tell me the difference between creating a nested class in private and public section of nesting class?pl reply me soon....
[2 replies] Last: Hi, thanks for ur reply,actually I have executed the private nested c... (by shehnaz)
Validate a Character Input
 
Is there a way to validate a character like how we validate an integer using isdigit/cin.fail()? eg. main(){ char code; int num; cin >> code; // where h...
[2 replies] Last: see http://www.cplusplus.com/forum/articles/6046/ (by Bazzy)
Strange error!
 
A program compiles successfully in the mingw compiler.Whenever I put it in Visual Studio, the following error message comes up:: 1>MSVCRTD.lib(crtexe.obj) : ...
[1 reply] : You should have selected console program in project type. (by RedX)
Mini search engine
 
I'm given a folder of input text or HTML files (say 50 files) and a set of keywords (say 40 keyword). I'm trying to build an efficient data structure (an inde...
[1 reply] : no ideas ? (by Hopeless)
Are characters arrays and strings that important?
 
Can someone explain to me how this is helpful. Im a self taught C++ programmer. The chapter I'm on now is arrays. I understand them, but now the chapters going ...
[10 replies] Last: It's not a question of whether you need string operations or not. You ... (by hamsterman)
Best editor/compiler (Mac & PC)
 
I'm working through the book Absolute C++, doing all the programming projects and self tests, as well as doing Intro To Programming at Uni. I've been using V...
[no replies]
Problem with Arrays
 
I've been going on this program for two days now. I was just practising, so I made up a situation for myself and expected to solve it. It just won't work, Ive t...
[2 replies] Last: Oh wow. I swear I was going insane yesterday over this. Thank you so m... (by Soap360)
by michy
class prototype
 
hi experts, how to declare my class prototype if i have the following class... class A{ friend void B::test(); //error cant find }; class B:public A{ ...
[8 replies] Last: shit.. i think whole nite but cant get this idea.... thx alot dude... (by michy)
by JTT
Array of structs as a class member variable: initialization
 
The problem states: Create a drink machine simulator class. The class should use a structure that has: Drink name Drink price # of drinks in the machine ...
[1 reply] : From a maintainability standpoint, it would be better if you used Soda... (by jsmith)
Game Development for Beginners
 
Hello. I was wondering if anyone here has or is working on a game or programs games for a career. If you do I would like to ask some questions about it. I'm a b...
[5 replies] Last: See Return 0 is one of those guys I mentioned in email that would be f... (by Seraphimsan)
operator overloading
 
Hi All, I had a very stupid doubt but I couldn't seem to understand this thing. When I am overloading ++ operator , I need to provide int in the paramete...
[1 reply] : The reason is that the compiler needs to differentiate between two ope... (by Galik)
July 2010 Pages: 1... 2728293031
  Archived months: [jun2010] [aug2010]

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