- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 2
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
Re: [QUOTE=Good Bye;595841]it'll take 6-12 months to make a simple bot in c++? wow.[/QUOTE] What, you think it's a slice of cake? :icon_rolleyes: | |
Re: Yep. And experiment - if you have an idea you want to implement, start a new file and see if it works. | |
Re: You can write sprite-based RPGs in Javascript, one guy even made a (slow) [url=http://www.nihilogic.dk/labs/chess/]3D chess game[/url] in JS. C++ is the preferred language for games, mainly for it's speed and efficiency. | |
Re: [QUOTE=MidiMagic;450392]I mean your idea of automatically logging in to a website from a web page on click of a link is insecure. Google would not notice that as being an insecurity. It will find the page and list it. You can't have a "hidden" page on your website that only … | |
Re: Keep in mind you can still use .NET on Linux/Mac/Windows with [url=http://www.mono-project.com/Main_Page]Mono[/url]. ;) | |
Re: [icode]file:///C:/AdminFiles.xml[/icode] | |
Re: When I first setup SDL I had to go through the includes and remove start_code.h / end_code.h from the includes. Bah. | |
Re: Well, lose the CString. [code=c++] System::String value = "RegNo"; System::String key = "Dept"; System::String /* assuming */ getValue = ReturnValue(value, key);[/code] | |
I was thinking about making an avatar system (like Gaia Online; I've tried befor but it's hard). Can anybody help me with one? I'm gonna make an open source site like Gaia... I can't do it by myself, though. | |
Re: From what I read, he's probably looking for something like [url]http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm[/url] | |
Re: Like everyone else, I hate people that don't use code tags. Seriously, is it that hard? | |
Re: [code=c++]class Foo { public: void SubFoo() { cout << "something"; } }; int main() { Foo foo; foo.SubFoo(); }[/code] edit: read the other part :x you could do something like [code=c++]class F { public: F() { cout << "something" << endl; } } class Foo : public F { }[/code] … | |
Re: you want to read it? easy. *ahem* use an ifstream object on the file, read it into an event_info structure (like [icode]struct event_info { int something;string event;int x;int y; }[/icode]) and simulate the events (mouse_event for mup/mdown, SetCursorPos() for move) *walks away now* | |
Re: system("start http://www.google.com"); or system("C:\\Program Files\\Mozilla Firefox\\firefox.exe"); | |
Re: >And Java is powerful and so is Assembly. The point is Assembler and C++ are the most efficient, when written right. >You can create languages from most any language. They are just mechanisms to convert text instructions to machine code. But sometimes languages throw in useless ASM/binary code that makes … | |
Re: you [icode]delete[] m_Contents;[/icode] since it was allocated onto the heap not str. | |
Re: Look at TinyXML or something, it's nicely done. now that makes me want to code an xml parser... perhaps with XPath support... | |
Re: Use code tags and we might help. And you should really work on your code formatting. That looks terrible. ;) | |
Re: Oh really now, did you have to necropost in a thread 3 years old? | |
Re: >change into: wrong. It's not constant because it has expressions that change. Thus you need dynamic memory (allocated with [icode]new[/icode]) or a type that's managed automatically (like Narue said, [icode]std::vector[/icode] for example). Right, Narue? *still needs to learn [i]alot[/i]* | |
Re: [url=http://msdn.microsoft.akadns.net/en-us/library/ms724895(VS.85).aspx]RegOpen()[/url], [url=http://msdn.microsoft.com/en-us/library/ms724923(VS.85).aspx]RegSetValueEx()[/url], [url=http://msdn.microsoft.com/en-us/library/ms724844(VS.85).aspx]RegCreateKeyEx()[/url], [url=http://msdn.microsoft.akadns.net/en-us/library/ms724837(VS.85).aspx]RegClose()[/url], etc. [url=http://msdn.microsoft.com/en-us/library/aa363634(VS.85).aspx]MS Example[/url] | |
Re: On Windows you can just put the website on the command line and it will open in the default browser, i.e. [icode]system("http://www.google.com");[/icode] | |
Re: Post the error... >#ifndef MAIN_H >#define MAIN_H you put your #endif in main, it should go at the bottom of your header. | |
Re: I guess not - it still has garbage. Did this test. [code=c++]#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { int *nums = new int[10]; for(int i=0;i<10;++i) cout << i << ": " << nums[i] << endl; delete [] nums; system("PAUSE"); return EXIT_SUCCESS; } [/code] but … | |
Re: And that's why you must use binary mode for FTP when transferring files from *nix to windows/mac/dos, otherwise the binary data will be corrupted by CRLFs. (and I will never understand that. :)) | |
Re: If you're talking about your program, post your code. | |
Re: That would be ASCII, not ANSI ;) you can mark the thread solved now. | |
Re: ... you're not going to finish it unless someone does it for you. but nobody will. |