Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #2K
~9K People Reached
Favorite Forums
Favorite Tags

26 Posted Topics

Member Avatar for rom87

you can also have a look at [url=http://msdn.microsoft.com/en-us/library/ms682073%28VS.85%29.aspx]msdn's console functions[/url](such as AllocConsole), and [url=http://msdn.microsoft.com/en-us/library/ms682528%28VS.85%29.aspx]info[/url]

Member Avatar for Frederick2
0
200
Member Avatar for Necrolis

well, after hours apon hours of serching for this, i've come up with nothing but a few sources for some plugins[from thecodeproject.com], which don't cover what I need: Basically writing to the currently active (source) file(at the position of the cursor/caret), like so(highly simplified) [code=cplusplus] fprintf(pOpenDocument,"/*\n\tTime: %s\n\tDate: %s\n\tAuther: %s\n\tReason & …

Member Avatar for Necrolis
0
166
Member Avatar for meabed

[QUOTE=1o0oBhP;76693]had a go in dev c++, was the same as everything was pre-defined (__declspec ect...) but the template put a BOOL APIENTRY main function in mine with different states? is that a basis of threading? (it had things like attaching / detaching ect.. in it)[/QUOTE] This is how the dll …

Member Avatar for ArkM
0
849
Member Avatar for Quarck

the is a free vc6 installer for a freeware version on ms' ftp, but i never got it to work... code::blocks is very nice, so are the new EE editions of the ms products

Member Avatar for Tigran
0
190
Member Avatar for SteveDB

[QUOTE=Ancient Dragon;627129] And stop using VC++ 6.0 -- its too old now. Download the free VC++ 2008 Express because its a lot better c++ compiler.[/QUOTE] this is a moot point, it depends what your using it for etc, as an example: it still optimizes WAY better than dev-cpp's mingw gcc …

Member Avatar for Necrolis
0
685
Member Avatar for CrackWizard

you might also want to use a debugger like ollydbg to trace through the code relating to the file access, just break on the fread calls etc and then stick a memory break on the files "image"/memory block, and see how its treated

Member Avatar for Necrolis
0
249
Member Avatar for joesmithf1

[code] *B= (double**)malloc(sizeof(double*)*4); [/code] you should try doing [code]double** B = (double**)malloc(sizeof(double) * 4 * 4); [/code]

Member Avatar for Necrolis
0
145
Member Avatar for lahom
Member Avatar for Ancient Dragon
0
1K
Member Avatar for asad awan

we need to see what you done so far to be able to help you, as no one here is going to do it for you

Member Avatar for Salem
0
144
Member Avatar for donaldunca

Not sure exactly what you need it for but you may want to look at the Allegro and/or SDL libraries media functions, as they have alot of tutorials, else you might try searching for a 3rd party similar to what you need(dev-cpp has many devpacks that might be of use)

Member Avatar for donaldunca
0
119
Member Avatar for gupster

put the switch in a while loop like [code] while(c != 'e') //or any thing else { //switch code... }[/code]

Member Avatar for Necrolis
0
89
Member Avatar for rem0404

well the cheap way would be to use DeleteFile(char* szPath); and start a new file(not what is specified :P), or try using fopen(...); which has a definitive overwrite mode, also sometimes a file won't appear if it is still "open" and has had little or no data written to it, …

Member Avatar for Necrolis
0
172
Member Avatar for cb02061

you can also make it into a class like so [code] class DSErrorLog { private: FILE* LogHandle; char szLogName[32]; char szTimeStamp[64]; char szLastDeleted[32]; public: DSErrorLog(); ~DSErrorLog(); void WriteToLog(char* szText); void ErrorLogPurge(int DaysOld); void WriteError(char* szText, char* File, int Line); void CreateTimeStamp(char* Format, bool Millisecs); bool __cdecl WriteToLogFormatted(const char* format, ...); …

Member Avatar for Necrolis
0
3K
Member Avatar for Lotus_2011

try this to reverse the string then use itoa, wsprintf, typecast etc to convert to an int [code] DWORD __fastcall ReverseString(char* sz) { return *(DWORD*)(&sz); }[/code](yes that only works with numbers up to four digits, else you need a for loop(or use a QWORD)

Member Avatar for Colin Mac
0
142
Member Avatar for technogeek_42

[QUOTE=technogeek_42;556942]owh i get it but hwo about in million [/QUOTE] For that you need to make more arrays, [QUOTE=technogeek_42;556942] can u make me some codes of that like this #include <iostream.h> main() blah blah blahblahblah [/QUOTE] This is lazyness, but i have nothing to do atm so.... [code] #include <cstdlib> …

Member Avatar for technogeek_42
0
723
Member Avatar for Serling1

you should use memcpy instead of strcpy for this, if you use it, just keeps similar grouped stuff together

Member Avatar for Necrolis
0
454
Member Avatar for monroe85

if you want is to loop infinitely just stick the main part in a while loop and use a condition that is always true like: [code] while(1 == 1) { //your code } [/code]. the do loop performs the operation first then checks the condition, useful for file ops.

Member Avatar for Necrolis
0
72
Member Avatar for Jennifer84
Member Avatar for Narue
0
94
Member Avatar for fluidtype
Member Avatar for vijayan121
0
132
Member Avatar for dan9992

you can use 2 ' to do this instead of ", also you'd need to parse for a space or some for of identifier to tell weather is the company name like(for which you might wanna use string stream (sstream.h) to acomplish: if(buffer[posinstream] == " " || buffer[posinstream] == "_") …

Member Avatar for dan9992
0
84
Member Avatar for nurulshidanoni

yes that would work, thought you don't need to bracket a single statement under an if() ie [code] if(1 == 1) { return true; } [/code] is the same as [code] if(1 == 1) return true; [/code] you only need curly brackets if more than one piece needs execution [code] …

Member Avatar for hammerhead
0
149
Member Avatar for CoolFlame

Also have a look at [url]www.cplusplus.com[/url] or [url]www.cprogramming.com[/url] if your not a fan of M$VC, useful resource aswell, but some stuff tends to be hidden on cplusplus(like the tutorials...)

Member Avatar for Necrolis
0
144
Member Avatar for Havik82

[QUOTE=technogeek_42;556889]u can download it with out any payment[/QUOTE] I assume this is a question, yes its free(though not up to date, it also has spin offs like wxWidgets) Another good an free compiler is Code::Blocks, combined with the freeware version of QT or SDL depending on your aims and you …

Member Avatar for technogeek_42
0
178
Member Avatar for fluidtype

If you don't have the source for the program, you can use something like resource hacker to replace them(works for icons and sounds too).

Member Avatar for fluidtype
0
122
Member Avatar for Necrolis

[code=C++]#include <fstream> #include <iostream> using namespace std; char * buffer; long size; int main () { ifstream infile ("d2gfx.dll",ifstream::in); ofstream outfile ("d2gfx.dll",ofstream::out); infile.seekg(0xBD30,ifstream::beg); size=infile.tellg(); infile.seekg(0xBD30); buffer = new char [size]; infile.read (buffer,size); cout << buffer << "\n"; system("pause"); outfile.seekp(0xBD30,ifstream::beg); size=outfile.tellp(); outfile.seekp(0xBD30); outfile.write ("D2Mad.dll",10); delete[] buffer; outfile.close(); infile.close(); return 0; }[/code] …

Member Avatar for Ancient Dragon
0
89
Member Avatar for Necrolis

first off this is my first post on this board, second i have knowledge of asm and debugging but by no means am i a guru(or the such). What i am trying to find is a way to track down the powerpc equivalent of certain x86 asm instruction(or a way …

Member Avatar for mathematician
0
72

The End.