General C++ Programming - March 2012 (Page 20)

by jt1991
exception handling problem here..
 
hi how do i write an exception handling to handle a code where int = t2 and if i enter any input oth...
[3 replies] Last: thanks cire.. u helped me alots.. my lecturer tested my program and i ... (by jt1991)
Reading from a File
 
Hello, I am attempting to create a smaller version of the Eliza program. I have a bit done, however...
[4 replies] Last: Aha. I was misled by the presence of the questions array. The approa... (by cire)
Thread synchronization
 
0I am makin a program in c++ where i am loggin some values in .txt file. I am using threading ...
[4 replies] Last: thanks Peter87 i will surely look into that but before that plss help ... (by hardtz009)
access specifiers?
 
in classes there are three different acces specifiers rigt? (i asume there arent more?) and i have ...
[2 replies] Last: getters and setters? taking a wild guess here but is that related to... (by even821)
MultiThreading Programs
 
I'm wondering how you would multithead an application. Say I want an openGL object to spin while awa...
[1 reply] : you should look into: glutIdleFunc() (by PitDaAnimA)
game engine?
 
i was just wondering about what a game engine is. i have heard it is just a bunch of code written wi...
[2 replies] Last: ah ok, thanks. (by even821)
I need help with functions.
 
Hi, I'm doing an assignment for school to do with functions and procedures. SO basically we are aske...
[10 replies] Last: Thank you Cire :) Seeing your example really helped! (by Tessycakes)
by Aroona
Can anybody help me? I am stuck in a c program
 
I have given an assignment of c to write a program that manages the library records using file handl...
[6 replies] Last: I took array for the structure, it only shows me correct output when I... (by Aroona)
Help in arrays for remarks
 
How can I display if it's passed or failed in remarks? Wherein if 1.00 the output should be passed. ...
[1 reply] : something like this? if(point equivalent < ??) cout<<"F"; else cout<<... (by buffbill)
Could someone help me with this simple project?
 
Hello, I recently purchased a book in C++ and one of the exercises is to create a simple factorial f...
[10 replies] Last: Just make sure you don't enter anything above 12. :) (by long double main)
define window size
 
Hello! I program in C + + ah few months and develop application in console mode and which function i...
[6 replies] Last: @brunopescarolli: (I know you're a beginner, so just read the bottom ... (by long double main)
Display output function problem
 
So i need to create a program to calculate some amount of number using function, i'm able to do it b...
[4 replies] Last: Thanks for the reply, i believe i added the functions to my main, but ... (by nasty92svx)
two-dimensional arrays and function help
 
If my explanation isn't clear enough read #9 http://books.google.com/books?id=LUJbzQR7KnoC&pg=PA322&...
[1 reply] : You are not calling the function properly: [code firstline=12] int to... (by Duthomhas)
by rzaj
Help with mode Project
 
I have a project where I have to determine the mode from an array of numbers. I got that to work by ...
[1 reply] : Hi there is no need to sort the data first, all you need to count how... (by therockon7throw)
how is this possible?
 
0113 // octal 0x4b // hexadecimal How can every single one of these b 75? I dunn...
[14 replies] Last: That has to do with this: http://www.cplusplus.com/doc/ascii/ (by LB)
question about input in sdl
 
i am trying to write an input class for my sdl game. the class is seperated from my main game loop, ...
[12 replies] Last: thanks, it works now :D and i really apreciate the lesson on how event... (by even821)
user editing output
 
im trying to allow users to openly edit the output of the program, for example. i would output the...
[6 replies] Last: ¿You want to do a text editor? You load your file in a buffer, show t... (by ne555)
by Cylab
Probability of '0' in random bits
 
Dear All Please share your ideas of following talk. 1) there are n random bits consisting of ...
[2 replies] Last: Before we begin, the p=position stuff seems to be confusing you, so fo... (by Duthomhas)
Segmentation fault in factorial program
 
i created a factorial program for numbers greater than 14 , it seems to be working for numbers les...
[12 replies] Last: Umm, 1073741820 digits isn't realy a "limit" in that sense the factori... (by viliml)
Problem with gtkmm and c++ class
 
Hi, I created calculator class which analyze string and calculates formulas in it. It works good i...
[5 replies] Last: In my function Everything goes well until atof() function. c_equation ... (by Shinigami)
March 2012 Pages: 1... 1819202122... 49
  Archived months: [feb2012] [apr2012]

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