Posts
 
Reputation
Joined
Last Seen
Ranked #208
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
64% Quality Score
Upvotes Received
81
Posts with Upvotes
72
Upvoting Members
42
Downvotes Received
59
Posts with Downvotes
40
Downvoting Members
27
33 Commented Posts
~263.45K People Reached
About Me

C
C++
C++/CLI
C#
and a little bit o' Java & F#.

Interests
I loves me some motorcycles, and women.
PC Specs
Windows 7 AMD Athlon 64 x2 5600+ AMD HD6670 4 GB DDR2
Favorite Tags
c++ x 556
c# x 30
c x 23
java x 15

560 Posted Topics

Member Avatar for yobbko
Member Avatar for abdelhakeem

Heh heh heh, I bet you kids never had an 8MB graphics card named "Rage". <shudder> the ATI Rage IIC

Member Avatar for Reverend Jim
1
1K
Member Avatar for zifina
Member Avatar for pseudorandom21

Anyone know of a way to obtain an MD5 checksum of a file (through HTTP) before downloading it through HTTP?

Member Avatar for Reinhard_1
0
7K
Member Avatar for The Dude

Well... Being overly generous to the pyschopath side, I got a 5. I do know a friend who would probably get like a 20-30 at least, however.

Member Avatar for maydhyam
1
6K
Member Avatar for veronicak5678

One algorithm candidate is: input = [icode][h][e][l][l][o][ ][w][o][r][l][d][/icode] for each char c in input if c is a space then shift the contents to the left, removing the space. Of course it would probably be more efficient to copy the array, assuming it is of a manageable size.

Member Avatar for bridgett.grace
0
2K
Member Avatar for Agouri

Most of the features you want are probably available via the operating system API, I'll assume you're using Windows so here's the API ref. [url]http://msdn.microsoft.com/en-us/library/ff818516(v=vs.85).aspx[/url] of course you don't have to roll your own, there is plenty of code available for random stuff. [url]http://www.codeproject.com/KB/cpp/AddColorConsole.aspx[/url] otherwise here's the console link: [url]http://msdn.microsoft.com/en-us/library/ms682087(v=VS.85).aspx[/url] …

Member Avatar for BeautyBeast
0
784
Member Avatar for jeffcogswell
Member Avatar for iAssistant

[QUOTE=iAssistant;1611570]How is your weather in your country? I am living in the Philippines and the weather here today is stormy and according to news, we are overloaded of typhoons in this month. One typhoon is over and there is 2 more waiting on the line. Oh boy![/QUOTE] I wish it …

Member Avatar for Stuugie
0
4K
Member Avatar for mrSatellite

[QUOTE=mrSatellite;1613981]can anyone show me the code of prime number program using while loop but without using bool..?[/QUOTE] Can you use google, or do it yourself?

Member Avatar for amaya ali
0
748
Member Avatar for mitrious

There are infinite ways to do it. Example of a C++ container template in the C++ STL: [url]http://www.cplusplus.com/reference/stl/list/[/url] Linked list information: [url]http://www.codeproject.com/KB/cpp/linked_list.aspx[/url] [url]http://www.functionx.com/cpp/articles/linkedlist.htm[/url] [url]http://richardbowles.tripod.com/cpp/linklist/linklist.htm[/url] First of all you may benefit from deciding how you want to implement your list before you do so.

Member Avatar for DinoG
0
432
Member Avatar for happygeek
Member Avatar for powerdink

Much agreed, the format of your post is most unhelpful to us. It's really your responsibility to make sure you meet those requirements, and if you're having trouble or you have a specific question we'll surely help.

Member Avatar for Brandon5122
0
6K
Member Avatar for pseudorandom21

Can I use a DLL embedded in an executable (as a resource) without writing it to the disk? (Windows)

Member Avatar for pseudorandom21
0
1K
Member Avatar for pseudorandom21

I'm attempting to transfer some OpenCV images over the network, I've been trying to put them into a format I can easily encrypt and transfer, but I'm almost certain it's not going to work properly. Essentially the IplImage is a structure but it has a pointer that points to some …

Member Avatar for pseudorandom21
0
771
Member Avatar for pseudorandom21

Is there some trick to networking between LAN machines? I want a client/server system on the network but I haven't a slightest about the IP. I'd like to avoid dropped packets, so from my limited knowledge I'd go with TCP. Etc. How do I locate another machine via IP on …

Member Avatar for BobS0327
0
123
Member Avatar for Robert955

Article suggests memory fragmentation might be a bit of a problem. Personally I'm inclined to ignorantly suggest it might actually be a stack overflow, check the project options--you might be able to increase the size of the stack for your program (not guaranteed to fix anything).

Member Avatar for pseudorandom21
0
91
Member Avatar for Vladnaka
Member Avatar for Sariscos
Member Avatar for pseudorandom21

These days the use of mainframe computers and terminals is highly outdated, but I'd like to predict it will make a comeback sometime soon. Today our terminals, our smartphones and tablets and even laptops and TVs are much more powerful than they used to be--and much more mobile. Instead of …

Member Avatar for jwenting
0
258
Member Avatar for cwarn23

A gigantic complicated MS Access database and a C# GUI for manipulating data, and then generating crystal reports.

Member Avatar for pseudorandom21
0
396
Member Avatar for rmbrown09

The best way? Probably a database of some sort, either just a file or an actual database (SQL, Access, etc.) Main thing is, you need a way to store the word, and it's definition in a logically related manner. You could use markers to mark the begin/end of data in …

Member Avatar for jaskij
0
533
Member Avatar for pseudorandom21

Java: I have a bunch of stuff drawn to the blank space of a JApplet app. I need to add a JButton at a specific location. I don't know how. What's the easiest way to do this?

Member Avatar for DavidKroukamp
0
186
Member Avatar for Azmah

[QUOTE=firstPerson;1565746]No it deactivates it, but if you sign in within 2 weeks it reactivates it for you. If you pass the 2week period then they 'delete' it, but they might have you still on their database who knows. If you want to stop using it for a bit, then tell …

Member Avatar for Coloradojaguar
0
480
Member Avatar for pseudorandom21

My simple POP3 client (set up for Gmail) isn't downloading all of my messages... Any idea why? I have 350 messages in my inbox and the program only says 296 of them show up. Program.cs [code] using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.Net.Security; using System.IO; …

Member Avatar for pseudorandom21
1
1K
Member Avatar for pseudorandom21

Here is a sort of description to my yet-unimplemented AI agent to play tic-tac-toe. It doesn't have to win, it just has to work, and my description of it has to be good. Tell me what you think: [code] /* "RATION_AL" The goal of my agent is to implement an …

0
147
Member Avatar for Hajira Khanum

[quote]void main()[/quote] Change "void main" to [icode] int main() [/icode]. Also, writing the program so that there is less coding would be beneficial, what happens when you try to run that thing?

Member Avatar for Hajira Khanum
0
174
Member Avatar for thecoolman5

Dev-C++ is no longer supported, last I checked. A better IDE will probably compile it.

Member Avatar for eddiecrosby
0
4K
Member Avatar for webecedarian

haha oh man but those crappy search engines in the 90's were the best!! oh ma gawd, who remembers [URL="http://en.wikipedia.org/wiki/MSN_Chat"]MSN chat[/URL] ??? To put things into my warped perspective, google's ability to track your searching and browsing is tantamount to a star of david on your shirt in germany during …

Member Avatar for Netcode
0
230
Member Avatar for pseudorandom21

So I can set a global low level keyboard hook from within a DLL pretty easily, but does it actually load that DLL into every process? How is it then, "Global" ? Any useful insight into the way this works? I use the command line program "tasklist" with the /M …

Member Avatar for dexblack
0
225
Member Avatar for hondros

I can't help but think it could be done better without all the macros and one giant main function. Btw, are you using C or C++ for this? I think classes could be used to your advantage.

Member Avatar for hondros
0
151
Member Avatar for pseudorandom21

Is there a library that's easy to setup and use with Visual Studio 2010 for AES encryption/decryption? I've been fiddling with CryptoPP and it's endless link errors and iterator_level_not_equal error messages for an hour now, so I think it's time to look for an installer or a new lib. Any …

Member Avatar for Narue
0
237
Member Avatar for Azmah

Isn't it called the "Order of Operations" ? Or rather, in a programming language, operator precedence.

Member Avatar for BDove
0
2K
Member Avatar for pseudorandom21

Is there a simple way to get a list/array of all the predefined colors? (without listing them all individually) ? It seems as though the colors are properties of the class "Color" rather than an enumeration.

Member Avatar for JamesCherrill
0
586
Member Avatar for pseudorandom21

Can I use my own code that I slapped a GPL on and provided to sourceforge in my own commercial application? In that way, does the GPL somehow relinquish my own rights to my IP?

Member Avatar for Rashakil Fol
0
213
Member Avatar for sidra 100

It's easier with a library that abstracts the complicated socket stuff. Right now I would probably consider using boost for it (personally). [code] #include <boost/asio.hpp> void TransferData( std::string data ) { //Server/port. boost::asio::ip::tcp::iostream con("server","9001");//or protocol, like "HTTP" if( !con ) ;//Connecting failed or something. else con << "Ehlo their mate. …

Member Avatar for pseudorandom21
0
160
Member Avatar for Momerath
Member Avatar for pseudorandom21

[url]http://live.reuters.com/Event/Iowa_Caucuses_2012[/url] Iowa Caucuses, on the page you can find some stuff regarding the various candidates...

Member Avatar for HiHe
0
42
Member Avatar for doma18

Functions cannot be defined or declared inside of other functions. Use this for reference: [code] #include <iostream> using namespace std; //Below is a function prototype or "declaration" void ShowMessage(); //Entry-point. int main() { ShowMessage(); //Compiler inserts "return 0;" automatically. } //Function body or "definition" void ShowMessage() { cout << "Hello, …

Member Avatar for pseudorandom21
0
243
Member Avatar for daviddoria

What version of boost are you using? It compiles fine for me (the exact code you posted, with some additional include files). Here, try this (same code): [code] #include <iostream> #include <cstdlib> #include <ctime> #include <vector> #include <algorithm> #include <memory> #include <boost/shared_ptr.hpp> struct Test { public: Test(const unsigned int input) …

Member Avatar for vijayan121
0
4K
Member Avatar for thinkingofaname

QT, Irrklang, Windows API. All are probably complicated to use. Why not try to find a good IDE for csound? If I wanted to work with sound I would probably use csound or learn enough about sound to implement my own with an audio library for C/C++.

Member Avatar for thinkingofaname
0
173
Member Avatar for lxXTaCoXxl

Control to traverse a directory and select files/folders. Control for webcams. Control for direct input device manipulation (probably not a C# problem). I haven't searched the snippet section lately so I don't know if those are in there already.

Member Avatar for lxXTaCoXxl
0
212
Member Avatar for manfredbill

please post code in the code tags [noparse][code] /* code here */ [/code][/noparse]. Then, it seems you're using a highly outdated compiler that supports a non-standard version of C++, perhaps you would wish to upgrade to a newer compiler so that we (and others) can better help you? There are …

Member Avatar for LRRR
0
3K
Member Avatar for daviddoria

Any plans on needing the class to be "thread-safe" ? Also, @firstPerson, most times you need to pass an instance of a class as a separate param to use with member functions of a class as suggested by his "OO" stuff. I bet there's a boost fix for this additional …

Member Avatar for ravenous
0
135
Member Avatar for Vermouth

From the website FAQ section of Bjarne Stroustrup, designer and original implementer of C++ The definition void main() { /* ... */ } is not and never has been C++, nor has it even been C. See the ISO C++ standard 3.6.1[2] or the ISO C standard 5.1.2.2.1. A conforming …

Member Avatar for adityatandon
0
599
Member Avatar for pseudorandom21

I've been fiddling with some boost spirit stuff, and my code seems to start infinitely looping somewhere in the standard library stuff. Any ideas what's wrong? The qi::phrase_parse works very well, but the karma gets me. [code] #include <iostream> #include <string> #include <vector> #include <algorithm> //#include <boost/spirit.hpp> #include <boost/spirit/include/qi.hpp> #include …

Member Avatar for mike_2000_17
0
189
Member Avatar for ThomsonGB

Please see the link to the youtube video in my signature. If you can stand my voice and horrible narrating it will show you one of the best ways to figure out a problem like that, assuming you're using Visual Studio. Also if you're copying a project you may want …

Member Avatar for ThomsonGB
0
494
Member Avatar for adil.h

Normally it's bad practice to operate directly on the memory the std::string class is managing for you, that's why the pointer returned is a [icode][b]const[/b] char *[/icode]. You'll probably have to copy the string data to avoid getting error messages. i.e., [code] char *buffer = new char[data.size()+1]; strcpy(buffer,data.c_str()); //buffer is …

Member Avatar for Moschops
0
803
Member Avatar for rajkumardhawan

[QUOTE=cscgal;1649394]In most cases, it's illegal. Torrents are for file sharing (usually illegal music/movies/pirated software) like Napster used to be.[/QUOTE] I live in a rural area and the only "high-speed" internet service available is uber-slow and it simply isn't even possible to download large files in the normal manner (the download …

Member Avatar for ilmkidunya
-6
319
Member Avatar for sam1

I have a library for some simple windows hooks written in C++/CLI that you can use in C#. It's pretty app-specific (written for EasyScreenCLI) but I'm sure you can adapt it to your needs with minimal difficulty. It has a mouse cursor hook too that gets the X/Y coordinates, somewhat …

Member Avatar for sam1
0
1K

The End.