Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~1K People Reached
Favorite Forums
Favorite Tags

6 Posted Topics

Member Avatar for 42Wired

I'm trying to open a file (ifstream object), read from the file, then pass the ifstream object to a function where it will continue reading from the file. Along the way, I want to store the path of the file, and would like to know if there is a way …

Member Avatar for 42Wired
0
352
Member Avatar for 42Wired

I am trying to write an API (called logEvent) for an outdated os-level logging function. I would like to call it in the following manner. [CODE=cpp]logEvent << "string"; // or logEvent << "string" << 123 << 0.456 << ... ;[/CODE] I'm trying to accomplish this by overloading the stream operator, …

Member Avatar for 42Wired
0
135
Member Avatar for kiryoku

[QUOTE=kiryoku;980650]sir, help me solve it plssss.....[/QUOTE] If people just posted the solution for you, how would you become a good programmer?

Member Avatar for Salem
0
168
Member Avatar for azjherben

If your target OS is Windows, the [URL="http://social.msdn.microsoft.com/Forums/en-US/category/visualc"]MSDN forum[/URL] might be a better place to ask.

Member Avatar for Nathan Campos
0
116
Member Avatar for DeathEvil

I'm trying to do the same thing as the OP, but I don't know how long my fractional_part is going to be. If I do [code=cpp]char *str; float fractional_part; sprintf( str, "%f", fractional_part );[/code], will I get trailing garbage on the end of str (e. g., 123.4555888233546 instead of 123.456)?

Member Avatar for 42Wired
0
196
Member Avatar for yasaswyg

[QUOTE=yasaswyg;931566]i need help I need to display Example 23.4 and display 23 and .4 how do i do this?[/QUOTE] I'm trying to do something similar, only instead of displaying the numbers, I need to store them. I need to store both as ints, though. The problem I'm running into is …

Member Avatar for 42Wired
0
305

The End.