Posts
 
Reputation
Joined
Last Seen
Ranked #866
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
11
Posts with Upvotes
9
Upvoting Members
11
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
9 Commented Posts
0 Endorsements
Ranked #2K
~25.3K People Reached
Favorite Tags
Member Avatar for hariza

[QUOTE]If i have a file like the one below what would be the best/easiest way to sort the words in alphabetical order.[/QUOTE] Whatever way the system/compiler offers. :) If you just need the file sorted beforehand, I don't know of an OS that doesn't give you an easy to use …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for may4life

[QUOTE]I just dont really understand yet how it can be implemented in a game concept.[/QUOTE] I'm gonna play the part of a naysayer if ya don't mind. ;) You say you understand how OO works and all the concepts and such, right? If that's really how it is then not …

Member Avatar for Serapth
0
2K
Member Avatar for hari12341
Member Avatar for Sesshokotsu

You've got my respect for being able to understand those nested switches! :) I would have just used array indexing. Anyway, the problem is that you break the number down in reverse. To get it back you need to loop in reverse, from back to front. [code] #include <stdio.h> int …

Member Avatar for soulcandra44
0
162
Member Avatar for FireSBurnsmuP

kk, if this is C then you use a test against '\0' to look for the end and do sumthin' like this. [code] int i; for (i = 0; str[i] != '\0'; i++) str[i] = (char)tolower(str[i]); [/code] One of the few things a cutie like me is anal about is …

Member Avatar for geinjo
0
2K
Member Avatar for Gigs_

[QUOTE]Is that possible?[/QUOTE] It's possible, but very hard and the result won't be good at all. To decompile you need to disassemble into assembly and translate the assembly into C. If you've seen a disassembly, even a good one, you'll know how useless a translation into C would be. There's …

Member Avatar for Salem
0
9K
Member Avatar for freefika

The easiest way would prolly be to use a WebBrowser object. :) Otherwise you're looking at a custom control.

Member Avatar for slimtugo
0
262
Member Avatar for pclpossum

Uh, you didn't open the connection. [code] Dim adapter As OleDbDataAdapter Dim Connection As OleDbConnection searchResults = New DataSet Connection = New OleDbConnection(connectionString) [COLOR="Blue"]Connection.Open();[/COLOR] adapter = New OleDbDataAdapter(searchText, Connection) adapter.Fill(searchResults) Connection.Close() [/code] That should have thrown an exception. Are you catching and ignoring exceptions in a try block somewhere higher …

Member Avatar for steilx
0
193
Member Avatar for Utkarsh Kukreti
Member Avatar for webspy

[QUOTE]is it worth it to continue learning it while Windows Vista will be released in a short while and the .NET technology becomes more and more popular ?[/QUOTE] Absolutely! .NET is great and all, but eventually you need to drop down to Win32 to get somethin' done. :) Remember that …

Member Avatar for robertkatz
0
146
Member Avatar for Goitse

[QUOTE]so if anyone has a simple definition of what it means, please reply.[/QUOTE] The stuff you know already is a part of system engineering. SE is the whole shebang. From start to finish, the design, implementation, and maintenance for any given 'system' or project is system engineering. People who do …

Member Avatar for NedFrankly
0
81
Member Avatar for Scottg1989
Member Avatar for gopan

If I understand what you want to do, it's actually pretty easy. But you need to play some string parsing tricks: [code] using System; using System.Windows.Forms; namespace InannaRocks { public class MyProgram { public static void Main() { Application.Run(new MyForm()); } } class MyForm: Form { FlowLayoutPanel _container = new …

Member Avatar for Inanna
0
161
Member Avatar for Utkarsh Kukreti
Member Avatar for Utkarsh Kukreti
0
96
Member Avatar for raghavan

I don't understand. When you decrease the resolution, everything looks bigger. Are the actual relative sizes changing, or do the controls just look bigger?

Member Avatar for waynespangler
0
82
Member Avatar for Jupiter247

[QUOTE]I am at a loss with the code for the functions add, minus divide and multiply[/QUOTE] kk, the functions themselves are easy. Just do some such like this. [code] Private Function Add(lhs As Integer, rhs As Integer) As Integer Return lhs + rhs End Function [/code] If you pull numbers …

Member Avatar for Jupiter247
0
102
Member Avatar for upside10

Work from the outside in. The outer loop goes from 1 to n - 1, so we can be lazy and call that O(n) 'cause it's close enough, right? So you know that whatever goes inside the outside loop steps n times, right? Now look at the inside loop. It …

Member Avatar for upside10
0
123
Member Avatar for slacke

[QUOTE]I need as big arrays as possible.[/QUOTE] You never need arrays to be as big as possible 'cause there's always a way to work around painful memory drains. Since you use an old compiler, you should think like we did when we were using them. Basically, memory is like gold. …

Member Avatar for ~s.o.s~
0
231
Member Avatar for F.T.L.O.T.G

[QUOTE]the professor thinks I should know how to do it by now.[/QUOTE] You prolly do, but sometimes solutions aren't obvious, especially when you're new to problem solving. Your professor is there to teach you and give advice, so he's not off the hook with that excuse. :) [QUOTE]I have a …

Member Avatar for Salem
0
224
Member Avatar for aidi.morini

PictureBox has an Anchor property because it inherits from Control. If it's not listed in the designer view for some reason, you can set it in the form load event in your code view. When in doubt, go to the source! :)

Member Avatar for aidi.morini
0
196
Member Avatar for danae

[QUOTE]it couldn't run correctly in the first place was because of some mistake in the subsequent code.[/QUOTE] What mistake? Is the query string what you thought it was? What happens if you print the query instead of run it and then paste it into SQL to run manually?

Member Avatar for Paladine
0
1K
Member Avatar for kathy78

[QUOTE]It's basically the column name for the query below (typed dataset).[/QUOTE] One thing I know for sure is that I'm not smart enough to use typed datasets. They've given me so much trouble that I'm more productive when I write the underlying code for them manually. :rolleyes: But! The problem …

Member Avatar for peterbyrne
0
83
Member Avatar for Utkarsh Kukreti
Member Avatar for amishosh
Member Avatar for The Dude
Member Avatar for jado

I use FireFix 1.0.7 (hmm, should prolly upgrade) and IE6 for stuff that "requires" it.

Member Avatar for jbennet
0
153
Member Avatar for kathy78

You [B]are[/B] passing a string. What does LoginAdapter.GetDataBy look like?

Member Avatar for peterbyrne
0
99
Member Avatar for Clinton Portis

I'm gonna say iter isn't valid. Don't worry, I'll explain my thought process. But bear with me because it's twisted. :D You initialize iter in the Database constructor. [code] Database::Database() { is_found = false; infile.clear(); vInfo.clear(); iter = vInfo.begin(); } [/code] Technically you don't need to clear vInfo because it's …

Member Avatar for iamthwee
0
125
Member Avatar for Barefootsanders

Do you wanna use C++ instead of PHP 'cause there's a real benefit? Or is it just 'cause you like C++ better or know it better? The likes and dislikes of the programmer usually aren't a good excuse for picking an implementation language. But! To answer your question, I've heard …

Member Avatar for Barefootsanders
0
103
Member Avatar for rowly

[QUOTE]if i want to write to a file, do i have to fread it first or just fwrite it straight away ?[/QUOTE] It's tricky. Can you post some code that shows what you're trying to do?

Member Avatar for rowly
0
348