2,839 Posted Topics

Member Avatar for arkarjun
Member Avatar for Fbody
-8
238
Member Avatar for Vagelis44

[quote]Or to give me another idea like how to get info from /proc/cpuinfo[/quote] Sure: [icode]system("more /proc/cpuinfo > /tmp/file");[/icode] Now just open the file /tmp/file and read the data that you want. Or you could use a named pipe with one end in your C-program and "more /proc/cpuinfo" in the other. …

Member Avatar for harshil_shah007
0
548
Member Avatar for Elihu5991

[QUOTE=Elihu5991;]P.S .. Check your private messages.[/QUOTE] Asking for help through PM's is against our [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]: [quote] # Do not ask anyone (member or moderator) for help by email or PM[/quote]

Member Avatar for Elihu5991
0
293
Member Avatar for tgreer

>> First, sorry for posting this here, but I couldn't find a VBScript forum on Daniweb (which I find surprising) I was also surprised. I could've sworn we had a forum for this in the past. I've started a thread about it in the behind-the-scene forums, so I'll get back …

Member Avatar for tgreer
0
772
Member Avatar for Supriyo

Don't know the fastest, but you could start [URL="http://www.open-std.org/jtc1/sc22/wg21/docs/standards"]here[/URL]

Member Avatar for xtrmR
0
356
Member Avatar for tomo_uni
Member Avatar for tomo_uni
0
206
Member Avatar for patrickm129
Member Avatar for Nick Evan
0
98
Member Avatar for ASTA LAVISTA

[QUOTE=Fbody;]Returning an int from main() is what is required by the standard. The normal return from main() to indicate no errors occured is zero (0). Thus, the absolute minimum standards-compliant program is:[CODE]int main() { return 0; }[/CODE][/QUOTE] Actually, the minimum standard-complaint C++ program is: [code] int main() { }[/code] Because …

Member Avatar for ASTA LAVISTA
0
412
Member Avatar for GrimJack
Member Avatar for waphon

I think I speak for all of us, when I say: What on earth are you talking about? [edit] >>Huh??? Brilliant minds apparently think alike :icon_razz:

Member Avatar for chiwawa10
0
116
Member Avatar for zebnoon1

[QUOTE=AndreRet;]Kellymomm - I don't think you have posted on the actual post you wanted.... This is an entirely different subject???[/QUOTE] (s)he was a spammer. They copy some interesting sounding text from somewhere, paste it here and add a link to their own website. This is highly against DW-rules (keep it …

Member Avatar for Retsel_ter
0
690
Member Avatar for SC803
Member Avatar for nanosani

How about using [URL="http://www.google.nl/search?hl=nl&q=java+media+framework+download&btnG=Google+zoeken&meta="]google[/URL]? By clicking the second link you would find [URL="http://java.sun.com/javase/technologies/desktop/media/jmf/"]this[/URL]

Member Avatar for greg.stunt
0
5K
Member Avatar for Ancient Dragon

>>But it's against the rules to have multiple accounts No it isn't. It's against the rules to have an multiple accounts to circumvent a ban. Besides, I [I]know[/I] you have multiple accounts, so if you're saying that it's against the rules to have multiple accounts, I should ban you right …

Member Avatar for Nick Evan
0
154
Member Avatar for Arthas

1. find out where the file 'PocoFoundation.lib' is on your pc 2. Go to project->....properties->Configuration properties->linker->general 3. In the field "Additional library directories" type the path you found at 1.

Member Avatar for Arthas
0
5K
Member Avatar for StacyAnn1296

[URL="http://www.daniweb.com/forums/post1332761.html#post1332761"]Crosspost[/URL]. Closed

Member Avatar for Nick Evan
0
158
Member Avatar for StacyAnn1296

[URL="http://www.daniweb.com/forums/post1332761.html#post1332761"]Crosspost[/URL]. Closed

Member Avatar for Nick Evan
-1
73
Member Avatar for Ancient Dragon

We also have an option to leave expiring redirect? Perhaps we could leave a redirect that's only active for 2-3 days? But that's up to Dani/Davey to decide.

Member Avatar for ~s.o.s~
0
110
Member Avatar for Dani

[B]>>Do you read the DaniWeb news stories?[/B] Almost never.. [B]>If not ... what about them doesn't interest you?[/B] I'm not an overall Geek. I actually have hobbies and interests that aren't related to anything IT'ish. I just program C++ and play an occasional game, I don't really care for using …

Member Avatar for Ancient Dragon
0
662
Member Avatar for Doomreaper

[QUOTE=NicAx64;1331684]hi, I know this thread is very old,I came here to dig the thread, and I want to acknowledge all that link is now not working. Please be kind enough to update that link again .[/QUOTE] Behold: The amazing powers of "Google" -> [URL="http://www.google.com/#sclient=psy&hl=en&site=&source=hp&q=jwsmtp&aq=f&aqi=g1&aql=&oq=&gs_rfai=&pbx=1&fp=66c068866a123d01"]Click[/URL]. :icon_wink:

Member Avatar for Nick Evan
1
225
Member Avatar for s.naroith

If your using windows, you could try this demo: [code] #include <iostream> #include <windows.h> int main() { HANDLE console = GetStdHandle(STD_OUTPUT_HANDLE); for (unsigned i = FOREGROUND_BLUE; i != COMMON_LVB_LEADING_BYTE; ++i) { SetConsoleTextAttribute(console, i); std::cout << "Pretty colors! "; } }[/code]

Member Avatar for Nick Evan
0
118
Member Avatar for VBNick

>> [icode] for(unsigned short i = n_elements - 1; [COLOR="Red"]i >= 0[/COLOR]; i--)[/icode] What you're saying here is : "As long as i is greater than [U]or the same as 0[/U], decrement i." So when I is 0 this statement will still be true and "i" will be decremented. Because …

Member Avatar for William Hemsworth
0
173
Member Avatar for Duki

Nope. Chances are that I learn something from Narue if the topic is on algorithms and from AD if the topic is Win32. So I open these thread more often than thread named "I need x in Turbo C++ asaP!" with last poster "newbie_no_clue_@_all". And besides: nobody is perfect, so …

Member Avatar for ~s.o.s~
0
172
Member Avatar for TetuGal

Hello, [quote]please kindly help with how he got it all done.[/quote] What's your question? I've looked at your [URL="http://www.daniweb.com/techtalkforums/search1862636.html"]other posts[/URL], but don't understand what your saying.

Member Avatar for ruwanithanu
0
382
Member Avatar for SaiBalaji
Member Avatar for Nick Evan
-1
103
Member Avatar for Nick Evan
Member Avatar for happygeek
0
94
Member Avatar for super-duper

[QUOTE=kes166;]Can't you just get rid of all the if statements, and use [code] cin >> sp[index - 1].name >> endl; //etc ... [/code] And then the same concept for the viewSpeaker?[/QUOTE] What would happen if index <= 1 ?

Member Avatar for Fbody
0
414
Member Avatar for shubhankarmayan

@prvnkmr449: I've seen a few posts from you now and I get the idea that you don't know that you're writing non-standard code. The program above will run perfectly fine on TurboC, but on any other compiler from the last five-ten years it won't compile. It's time to update to …

Member Avatar for prvnkmr449
0
434
Member Avatar for Ancient Dragon

[QUOTE=cscgal;]I readded the rule "Do not post articles that you have already published on another website" that seemed to have gone away amongst the rule redesign.[/QUOTE] It got kinda covered by : # Do ensure you own the intellectual property rights to everything that you post # Do not post …

Member Avatar for Geekitygeek
0
157
Member Avatar for lonely_girl
Re: HELP

download my attachment and store it in [B]c:\[/B] then run this: [CODE=cplusplus]int main() { system("mspaint c:\\mm.jpg"); return 0; }[/CODE] (only works on windows) Your welcome!:-/

Member Avatar for Adak
0
258
Member Avatar for Ancient Dragon

It's just a new type of post like "code snippet" or "news story". So, no, it isn't spam :)

Member Avatar for happygeek
0
118
Member Avatar for faisal.alawar
Member Avatar for bmos31

On a side note; you could use std::bitset to do the conversion relatively easy: [code] #include <iostream> #include <bitset> int main() { unsigned long in = 1234567; std::bitset<32> out(in); std::string out_str = out.to_string(); std::cout << out_str; }[/code]

Member Avatar for prvnkmr449
0
180
Member Avatar for hystaspes

I have never heard of it, but if they ask $70 for a tutorial my answer would be: [U]No[/U]. Just start with [URL="http://nehe.gamedev.net/lesson.asp?index=01"]Nehe[/URL], it's free and very good.

Member Avatar for hystaspes
0
136
Member Avatar for arh

Flamewar prevention: closed. @chandaboy: [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Read the rules[/URL], then you would have known: [quote] Do not hijack old threads by posting a new question as a reply to an old one Do not write in all uppercase or use "leet", "txt" or "chatroom" speak [/quote]

Member Avatar for Nick Evan
0
253
Member Avatar for ftl25

Just overload the function? [code] void function(char a) { std::cout << "with char"; } void function(char a, char b) { std::cout << "with 2 chars"; } void function(std::string a) { std::cout << "with string"; } void function() { std::cout << "with no arguments"; } void function(int a, int b, int …

Member Avatar for vijayan121
0
2K
Member Avatar for the.future.zone
Member Avatar for TetuGal

[QUOTE=jbennet] No mobile device development on that version whatsoever, you need the professional 2005 ( [/QUOTE] True, but you can download the PRO version from microsoft.com, it's a 90-day trial and works great. I use it to with C/C++/VB.net mobile projects.

Member Avatar for divya s
0
330
Member Avatar for eniine

Homework? If yes: show us what you've done. Is this a training for 2d-arrays? Because I can think up a few much more 'C++ ways' to solve this problem..

Member Avatar for Nick Evan
0
244
Member Avatar for MivanF

C++ is not a program it's a language. Your question is similar to "Where can I download the English?" Unfortunately we don't live in the Matrix where we can download knowledge directly into our brains.

Member Avatar for Nick Evan
0
111
Member Avatar for GrimJack

[B]>> google[/B] Since when is google a forum? Anyway: I started out on gidforums then came here. I have an account on a variety of fora, but my DW-account is the only one that has more then ~50 posts.

Member Avatar for ithelp
0
113
Member Avatar for Narue

Perhaps you could add an option to the UserCP to turn the entire menu off?

Member Avatar for creeps
0
170
Member Avatar for Ezzaral

ABP is blocking: ##.ad_leaderboard ##.ad_text [url]http://img1.cdn.adjuggler.com/banners/ajtg.js[/url] [url]http://pagead2.googlesyndication.com/pagead/show_ads.js[/url] [url]http://www.daniweb.com/forums/clientscript/scripts/adsense_postbit.php?channel=0252963766[/url] on this page

Member Avatar for ~s.o.s~
3
297
Member Avatar for ak_2005

You could try right-clicking the executable, then select properties. Go to the compatibility-tab and select 'windows 95'. This may or may not work, I never used Turbo in WinXP. [quote=Narue;358141]You know, you could just say that you're being forced to use that compiler instead of being a jerk about it.[/quote] …

Member Avatar for shriniwas
0
5K
Member Avatar for cnmsg007

>> I have already done part2a and 2b Prove it. We only give homework if you show some effort yourself!

Member Avatar for Lerner
0
118
Member Avatar for stackOverflow

[QUOTE=juliajosh;1168869]how to blink output using turbo c++ 4.5[/QUOTE] How about you actually [I]read [/I]the replies in this thread?

Member Avatar for Nick Evan
-1
995
Member Avatar for sashank.thags
Member Avatar for Nick Evan
0
125
Member Avatar for peter_budo

I give out that link on a semi-regular basis and this is the first time that I hear that it's only accessible to Mods... :( So apperantly something has changed, because back in the days when I still was a "normal humans" (thanks AD..) I could read the announcements. Maybe …

Member Avatar for Lusiphur
0
146
Member Avatar for Tekmaven

>> but it was displayed as only three months old Actually it said: "This thread is MORE than 3 months old..."

Member Avatar for peter_budo
0
467
Member Avatar for willgr

[quote]But before I do, I need to know if it is a wise approach to use Ubuntu to compile for a Linux server. I know Ubuntu is based on Linux, but is that sufficient to justify this approach to the problem?[/quote] You don't compile with Ubuntu, you compile with a …

Member Avatar for willgr
0
239

The End.