Posts
 
Reputation
Joined
Last Seen
Ranked #112
Strength to Increase Rep
+12
Strength to Decrease Rep
-3
91% Quality Score
Upvotes Received
69
Posts with Upvotes
58
Upvoting Members
31
Downvotes Received
7
Posts with Downvotes
6
Downvoting Members
5
46 Commented Posts
15 Endorsements
Ranked #99
Ranked #270
~332.38K People Reached
About Me

Student

Interests
Programming, sports, reading, writing, music (listening, playing, writing, attending), film, and being…
PC Specs
Processor: 8086 16 bit processor Minimum device size: 3.3um Clock Speed: 5MHz RAM: 64kB Operating System:…
Favorite Tags

447 Posted Topics

Member Avatar for samaru
Member Avatar for moderate_rock48
Member Avatar for Duki

>> a couple of McVitie Digestive biscuits You've mastered the urge not to eat the whole packet!? Wow! I'm drinking Barry's Tea (the only tea for an Irish man!), and eating an apple I picked from my garden. Thinking about making a sandwich though. I had an omelette earlier today …

Member Avatar for Dani
22
17K
Member Avatar for mattyd
Member Avatar for The Dude

3 :| I don't like scoring low in tests. I wanna take it again. I failed miserably :'( Anyone here give grinds???

Member Avatar for maydhyam
1
6K
Member Avatar for riahc3

[inlinecode]MessageBox(0,"Message body", "Message title", MB_OK );[/inlinecode] might be what you're looking for. [inlinecode]#include <windows.h>[/inlinecode] to use it.

Member Avatar for tirumalai
0
9K
Member Avatar for Lardmeister
Member Avatar for vegaseat
1
298
Member Avatar for restrictment
Member Avatar for debasisdas

>> I fail to see why I should show up at school in my underwear unprepared for a test just because life is short. I always believed that ... fantasy lacked in body the full humiliation which a true nightmere should bring to the dreamer -- at least you had …

Member Avatar for James_28
8
17K
Member Avatar for hey_shishir

I normally don't do it, but here's a solution:[code]#include <stdio.h> int main() { printf("1 5 7 11 13 17 19 23 25 29 31 35 37 41 43 47 49 53 55 59 61 65 67 71 73 77 79 83 85 89 91 95 97 "); return 0; }[/code]

Member Avatar for akshit.arora.14224
0
4K
Member Avatar for sk8ndestroy14

796 I don't like counting down. I prefer the other one. Ye should'a' started at a million or something.

Member Avatar for cproger
0
7K
Member Avatar for steven woodman

I wasn't going to, but then I got bored so I did. These are the ones Grim got bored of answering. ... >> Why is it that people say they "slept like a baby" when babies wake up like every two hours? Babies can sleep anywhere; in cars, on people, …

Member Avatar for stultuske
4
399
Member Avatar for The Dude

I think it was inspired by LOTR :) As in common tongue. Interesting idea. Kinda makes sense to have one though.

Member Avatar for Ene Uran
9
4K
Member Avatar for ndeniche

Well in that simplistic argument you're probably right. However. What you're missing out on is that if God created mankind, and if they were created in his image to remain as his image one should live in his presence, and it would only be in continually living there that one …

Member Avatar for GrimJack
0
2K
Member Avatar for Lardmeister

>> Some astronomers say that it might trigger a shift of the earth's magnetic poles, OK. Fields decay with 1/r^2 ... so ... 1/light-squared-years is very very small.

Member Avatar for sneekula
2
2K
Member Avatar for The Dude

>> and most people who do work for charities don't do it for free Being a poor student I tend to avoid people collecting for charity on the streets. Every now and then I can't and when they talk to me and ask for 20 quid a month I ask …

Member Avatar for <M/>
0
691
Member Avatar for delifion

aa is a pointer so you have to either dynamically allocate an instance of a, or set it to the address of an already instantiated instance, and call [inlinecode]aa->getAttribute();[/inlinecode]. Alternatively do[code]aa a; a.getAttribute();[/code]

Member Avatar for Nasas
0
151
Member Avatar for Serunson

Well, this is going to be a long list. I like lots of different styles of music ... in no specific order (other than as they come to me) - Led Zeppelin (they probably are my fav band), Rodrigo y Gabriella, Dire Straits, Hendrix (sometimes), Damien Rice (not his recent …

Member Avatar for blackcathacker
0
1K
Member Avatar for pretu

I'm assuming you don't want to use the cosine function either :) You could create a table of results and read the values off that instead of using the sine function. Alternatively you could use exponentials and imaginary numbers ...

Member Avatar for jayeshkamble143
0
598
Member Avatar for Michael_Knight

I really don't understand why I love this quote so much, but I do:[quote=Lady MacBeth]The Thane of Fife had a wife; where is she now? What, will these hands ne'er be clean? No more o' that, my lord, no more o' that: you mar all with this staring.[/quote]

Member Avatar for happygeek
0
1K
Member Avatar for The Dude

Also, 4 of your posts in the front page of the lounge have 'awesome', or 'amazing', in them :) That is pretty odd though.

Member Avatar for vegaseat
1
90
Member Avatar for ~s.o.s~

I once purposed to a lady friend and she said no ... broke me heart ... I still think about her. Sure we were like 7 but ... that's not the point.

Member Avatar for Borzoi
0
725
Member Avatar for The Dude

117.67. Don't think it's a very good test. What it measures what you have watched. What you've read. What you've seen. etc. What does toy story say about how smart you are? In my opinion an IQ test should give you something (a picture, piece of text, etc), and ask …

Member Avatar for The Dude
-1
127
Member Avatar for christina>you

Well dictatorships have a horrible tradition of getting into wars and democracies have a horrible tradition of starting them ... I don't know which is better.* * don't take that too seriously. >> China swapped it to us for 99 years. We gave it back in 1997 And where's the …

Member Avatar for Future_Dictator
0
1K
Member Avatar for socom(psp)

I only ever had a sega. Oh. I had a PS1 too, but didn't play it all that much. I loved my Sega. Knew all the cheats. All the shortcuts. Secrets to all my games :) I think I obsess easily ... might be one of my more psychopathic traits, …

Member Avatar for dexter737
0
799
Member Avatar for The Dude

What would be more interesting would be if he measured the current from it. Getting the voltage is fine, but what will tell you how feasible it is to power your phone is not voltage, but current. The concept of getting voltage is fine, but the phone is a hoax, …

Member Avatar for dexter737
0
147
Member Avatar for gretty

Consider what happens if all the numbers in the array are negative. Then the [inlinecode]if(a[i]>max)[/inlinecode] will never return true. There are two ways you can do this. Either set max to INT_MIN or set max to a[0] and loop from 1 to n then.

Member Avatar for Akill10
0
156
Member Avatar for kn_jee

ALso a space isn't going to be a good method of word termination specification. Some people like to put two spaces after their full stops. Some people don't put spaces after comas etc. What you could use (though it probably is a bit overkill), is use strtok - [URL]http://www.cplusplus.com/reference/clibrary/cstring/strtok.html[/URL] It's …

Member Avatar for md_azaz1
0
402
Member Avatar for zandiago
Member Avatar for jon.kiparsky
2
981
Member Avatar for alan4545

[CODE] void TWQ::getD(AnsiString carNo,Node DInQ[],int& size) { aQ=current->getDQ(); aQ.getElement(i+1,nameIn); DInQ[i].getName(); }[/CODE] Pseudo-code is pretty much a more readable way of printing real code. I find it kind of amusing that you can write the code but have difficulty in writing the psuedo-code :) Normally it's the other way around. I'm …

Member Avatar for annaabella
0
108
Member Avatar for Bips123

Colour text: [url]http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1048382857&id=1043284392[/url] Picture (though this mightn't work): [url]http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1044665557&id=1043284392[/url]

Member Avatar for Adak
0
76
Member Avatar for andyg55

>> Could anybody help me with the code please? Not unless you show some work. But it's not that hard. There are two problems to overcome -- 1) filling the array 2) reading values from a file. Once you have those two done there's really no problem. Show attempts on …

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

Jean Michelle Jarre is a fraud. [url]http://www.youtube.com/watch?v=G3SMB-YQ56s[/url] (two minutes in, complements to Aia)

Member Avatar for johnnybgood
0
450
Member Avatar for eXceed69

Yes. But I was in a bus and a car crashed into us. Busses == safe. I thought we drove across a pothole. Ever get injured playing sports?

Member Avatar for reach_yousuf
-1
5K
Member Avatar for Dave Sinkula
Member Avatar for The Dude

Love it! (assuming it's the same thing as dropping one from a very tall building) Like smashing one thousand gibsons over bricks because you want to open a new hard rock café and you think it'll impress people who don't like gibsons but you're wrong?

Member Avatar for maydhyam
1
2K
Member Avatar for ITKnight
Member Avatar for anonymous alias

[QUOTE=donut_gal;1076724]"cscgal: Need to work more on the DaniWeb homepage remake but taking a break to exercise on the treadmill ... I ate too many donuts this morning!" LOL So, the truth has been uncovered. Dani eats donuts all morning then takes to the treadmill at night. What exactly does she …

Member Avatar for diafol
-2
414
Member Avatar for foxmulder
Member Avatar for Ancient Dragon
0
198
Member Avatar for Ene Uran

Never liked the road not taken, much. But I do like "Out out", by Robert Frost a lot: [quote]THE BUZZ-SAW snarled and rattled in the yard And made dust and dropped stove-length sticks of wood, Sweet-scented stuff when the breeze drew across it. And from there those that lifted eyes …

Member Avatar for chickenfarmer
0
359
Member Avatar for iassael
Member Avatar for shakunni

It depends on what system you're on. If you're on windows you can use [inlinecode] GetFileAttributes[/inlinecode] (google it) and [inlinecode]&[/inlinecode] it with [inlinecode]FILE_ATTRIBUTE_DIRECTORY[/inlinecode].

Member Avatar for Ancient Dragon
0
106
Member Avatar for xcorpionxting

Something like this[code]animal *myAnimal; myAnimal = new fish; std::cout<< myAnimal->numLegs() << "\n"; delete myAnimal; myAnimal = new cat; std::cout<< myAnimal->numLegs() << "\n"; delete myAnimal; // etc...[/code]That is provided that you've a structure like this:[code]class animal { /*...*/ }; class fish : public animal { /*...*/ }; class cat: public animal …

Member Avatar for xcorpionxting
0
203
Member Avatar for raigs

Why must the function calls be void-ed? Aside from global variables ... there isn't a direct way of doing it really.

Member Avatar for twomers
0
83
Member Avatar for kavourdoukos

Before the reading look do a std::vector<std::string> fileContents. Then when you do each line do a fileContents.[inlinecode]push_back( line );[/inlinecode] Also. You can just do a [inlinecode]while( getline(fileStream,line) ) { /*...*/ }[/inlinecode] instead of the [inlinecode].eof[/inlinecode] that you did.

Member Avatar for kavourdoukos
0
122
Member Avatar for Mattpd

It may be easier to parse by reading a line and using sscanf on the line you've read. [url]http://www.cplusplus.com/reference/clibrary/cstdio/sscanf/[/url] Look at the example. Dave. Why you gotta hate?

Member Avatar for Mattpd
0
396
Member Avatar for shenberry

I'd guess that what's holding up the program is printing to the console output, which is a slow process. Try writing to a file instead and it'll probably help with speed. Then see if you need to thread the application. If so come back to us.

Member Avatar for shenberry
1
154
Member Avatar for ahamed101

Actually. The #include thing only works on compile time. Not run time. So you can't strcat the value of the [inlinecode]#include[/inlinecode]. Also, your first example mightn't work the way you think.

Member Avatar for gerard4143
2
1K
Member Avatar for richman0829

You really should comment your code. And on a side note check out [inlinecode]cin.ignore();[/inlinecode] after cin>>'ing.

Member Avatar for Clinton Portis
0
211
Member Avatar for twomers

Hi all. First off this is my first interaction with jquery (and I hope this is the correct forum to put questions about this in, if not might a mod take the liberity of moving it to the correct forum?), so apologies if I'm overlooking an entire room made of …

Member Avatar for twomers
1
205

The End.