5,237 Posted Topics

Member Avatar for iAssistant

> This is frowned upon by the DW-community. But sadly not by "da management". Too many 1-line pith posting dweebs are allowed to stay for far too long. I'd like to invite the regulars to join me in [URL="http://www.daniweb.com/internet-marketing/25"]the land of the -1's[/URL]; it's just like shooting fish in a …

Member Avatar for Stuugie
0
4K
Member Avatar for Q8iEnG

> It is true that I have finished my C++ course two years ago. And it looks like you forgot everything since. > gets(s1); This is just [URL="http://sourceforge.net/apps/mediawiki/cpwiki/index.php?title=Gets"]AWFUL[/URL] > sprintf(s2,"START %s",s1); So what happened to using [ICODE]std::string[/ICODE] (since this is C++ - right?) > const char* prgm=s2; And this does …

Member Avatar for shayan_doust
0
741
Member Avatar for satish_dukkipat

[url]http://std.dkuug.dk/jtc1/sc22/wg14/www/docs/n869/[/url] This is the last public draft (which is $0) of the C99 standard. The key phrase being [quote=draft c99] 6.5 Expressions ... 2 Between the previous and next sequence point an object shall have its stored value modified at most once by the evaluation of an expression. Furthermore, the …

Member Avatar for deceptikon
0
224
Member Avatar for debasisdas

The avalanche has already begun, it is too late for the pebbles to vote - kosh Truth is a 3-edged sword - kosh Some people are like blisters, they show up when the work is done. When all is said and done, more has been said than has been done. …

Member Avatar for James_28
8
17K
Member Avatar for crasher

> i am about to start my final year project Are you on the course because you wanted to be, or because someone told you to take it? Is there nothing which has ever taken your interest, or have you just blindly done the assignments because they were in the …

Member Avatar for Amiet_1
-1
2K
Member Avatar for himanshusharma

You've reached the end of the road. Your fossil compiler was obsolete 20 years ago (and at least half a dozen versions of your operating system ago). C'mon, seriously now - you've got a machine with what - at least 1GB of memory in it. All that crappy compiler can …

Member Avatar for RAHULtripathi86
0
334
Member Avatar for skandh

Or get a real compiler!!!! > this is to be used in my skool project...n i asked my teacher n she said u cant use allegero,fastgraph or ne other compiler Scratch that, get a real teacher instead. They don't know C any better than you do. They "learnt" some tricks …

Member Avatar for jay.vivarekar
0
2K
Member Avatar for jared_masc
Member Avatar for deceptikon
0
5K
Member Avatar for bossier330

Since you've already included string, why not use std::string for all your strings rather than messing about with char arrays, with their fixed length, no overflow protection, do it yourself alloc and free problems etc etc. > char temp[65535 - length + 1]; C++ doesn't have variable length arrays, you're …

Member Avatar for iam1sts
0
6K
Member Avatar for MadnessCow

If you want to be cryptic... [code] for (i = 0, y = 1.0, sum = 0.0, sign = 1.0 ; i < n; ++i, sum += sign*(1/y), sign *= -1.0, y += 2.0); [/code] *hides*

Member Avatar for Adak
0
6K
Member Avatar for kingarthur

Did you research the problem at all before diving headlong into the code? [url]http://en.wikipedia.org/wiki/Magic_square[/url]

Member Avatar for JamesCherrill
0
665
Member Avatar for aybe

> we're actually required to fulfill antispam regulations to keep information about every user who registers with us on record. You mean this? [url]http://business.ftc.gov/documents/bus61-can-spam-act-compliance-guide-business[/url] I'm curious about this para [quote] Honor opt-out requests promptly. Any opt-out mechanism you offer must be able to process opt-out requests for at least 30 …

Member Avatar for Scoobidoo
0
609
Member Avatar for sargarpramod

How many times are you prepared to run across the road blindfolded, just because you managed to get across the first time without being run over? Being right is a matter of attitude to solving the problem, not what your current compiler will let you get away with. Of course …

Member Avatar for tilakkumar
0
3K
Member Avatar for PixelExchange

You buy space and time from a hosting provider. There's plenty of ads for them over here [url]http://www.daniweb.com/forums/forum154.html[/url] A shell account might be more appropriate [url]http://clusty.com/search?query=shell+accounts&sourceid=Mozilla-search[/url]

Member Avatar for Reiz3N
0
181
Member Avatar for Etniespr101

Where do you input values into the arrays, prior to running the multiply code? It might run as written, but it will surely produce a bunch of garbage output.

Member Avatar for Musa_Jutt
-1
625
Member Avatar for imnannyogg

Even without all the passwords, this would be a relatively simple thing to accomplish. First thing, did you post this from home (in which case, does he already know you're onto something), or did you go to an internet cafe or a library? Ditto with all the replies that you're …

Member Avatar for joke1972
0
378
Member Avatar for eranga262154

DOS used to have a 'splitpath' function which returned the various components of a full path. Or you could do - find the last \ to mark the start of the filename - find the last . to mark the end of the filename.

Member Avatar for Gorf
0
2K
Member Avatar for SHWOO
Member Avatar for saba.gul.1048554
0
262
Member Avatar for tformed

There seems to be a rash of "do x without using the obvious" problems at the moment. Are they all at the same schoo[COLOR=Red]l[/COLOR] with some dim-wit teacher wh[COLOR=Red]o[/COLOR] thinks that learning dumb tricks is the way to teach pro[COLOR=Red]g[/COLOR]rammer[COLOR=Red]s[/COLOR].

Member Avatar for vmanes
0
3K
Member Avatar for derbende

If you just type in ./robot then you don't need argc or argv But if you were to type in say ./robot -input=file.txt then you would need to use argc and argv to read the rest of the command line.

Member Avatar for stephendstump
0
1K
Member Avatar for varun51

Leaving aside the 3+ year grave digging... > char *s="visha"; This MAY be in read-only memory. It certainly is for most modern compilers on most modern operating systems. But since you seem to be using crusty old Turbo C (why I don't know), it will "work for you". > s[start]=s[last]; …

Member Avatar for Amangpt01
0
2K
Member Avatar for bramprakash1989

Consider using the % operator. Recursion in this instance is very poor, because there is no clear exit condition and it may take a very long time (and thus a large amount of stack - perhaps too much) before you get the result you want.

Member Avatar for dramatic
0
1K
Member Avatar for ndeniche
Member Avatar for pranav034

[url]http://en.wikipedia.org/wiki/PPT[/url] Herbicide seems good - would that work? You had a mini project, but now it's grown wildly into something of [URL="http://en.wikipedia.org/wiki/Triffid"]triffid[/URL] proportions, and you want help fighting it back into it's small box? What is there to say? - took MS Web browser control - added a few MS …

Member Avatar for Reverend Jim
-1
407
Member Avatar for ndeniche

> wrong -- only about a third are Christian Sorry, but when you have one sect killing members of another sect (say 'christians' in Northern Ireland in the recent past, or 'muslims' in Iraq today), I just can't accept that they're the same. No doubt that long list of disagreeable …

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 Would those be the same "astronomers" which predicted all sorts of consequences as a result of SL9 slamming into Jupiter? I can see a few wacko astrologers and other assorted mystics trying to get some …

Member Avatar for sneekula
2
2K
Member Avatar for Harshita_garg

Use [url]http://en.wikipedia.org/wiki/Ncurses[/url] if you want to write portable console user interfaces.

Member Avatar for azeem abbas
0
221
Member Avatar for agnes333

So do you have any experience of C at all? What about experience of embedded C on other platforms?

Member Avatar for gamblingcoder
0
371
Member Avatar for wonderland

[url]http://download.cnet.com/1770-20_4-0.html?query=bookkeeping&searchtype=downloads[/url]

Member Avatar for Barbanu
1
238
Member Avatar for ThirdChaosSaint

Well it is, but you said this. > Also im not really good with programs, all i can do is learn to use them Without the ability to write code kind of 'code' to analyse a received message, and cause some action to be performed, you're not going to get …

Member Avatar for 716151
0
2K
Member Avatar for chanda gul

What makes you think the actual recovery tools are only say 50 lines of code? If you want source code, try this [url]http://sourceforge.net/search/?type_of_search=soft&type_of_search=soft&words=fat+file+recovery[/url]

Member Avatar for Ancient Dragon
0
423
Member Avatar for sharlynjm
Member Avatar for stultuske
0
123
Member Avatar for scapu

[url]http://www.daniweb.com/forums/announcement118-2.html[/url] [url]http://clusty.com/search?query=square+root+algorithm&sourceid=Mozilla-search[/url]

Member Avatar for goyalPriya
0
3K
Member Avatar for butt.usmanali

Why is someone with so many letters in their sig unable to find a display driver? > is there anybody to help me out? [URL="http://www.catb.org/~esr/faqs/smart-questions.html#prune"]Have you tried google, or the manufacturer's website?[/URL]

Member Avatar for jagkarnan
0
5K
Member Avatar for InsightsDigital
Member Avatar for audrey110
0
248
Member Avatar for alefdum

Dunno, it's just another bit of flypaper to catch the useless "me want project" types. Personally, Dani should just delete them all, then at least this site will no longer appear in google's search results for "F...l y..r p......t h..p"

Member Avatar for Hank10
0
1K
Member Avatar for cortiknee

> char* output; //output string (already filled with something) > strcat(output, buffer); It's not like it's a really good answer to a long standing problem.

Member Avatar for dverex
2
15K
Member Avatar for paptamas
Member Avatar for stevenpeter
0
234
Member Avatar for simps0n

> Old Thread, but what the heck.. Like reading the rules, but what the heck heh? [url]http://www.daniweb.com/forums/thread78060.html[/url] "Don't resurrect old threads!"

Member Avatar for rubberman
0
344
Member Avatar for GrimJack

...when you can remember having to use an ACTUAL [URL="http://en.wikipedia.org/wiki/Rotary_dial"]dial [/URL]to dial a telephone number.

Member Avatar for vinnitro
1
3K
Member Avatar for johnray31

> am new in this language and ... i face this question in my interview If knowing C is a requirement for whatever you're applying for, then you're not qualified, even if you manage to spoof the answer to this question. You might be able to regurgitate the answer, but …

Member Avatar for np complete
0
1K
Member Avatar for kneiel

What's wrong with the code include - way too many casts - way too many assumptions about the internal (ie undocumented) structure of classes - using C calling conventions for C++ class member variables. It's an abomination. What are you really trying to do?

Member Avatar for AliceJohn123
0
697
Member Avatar for anallan

OK, so what is your actual question? You've laid out the requirements quite nicely, but we're not here to do your homework for you. [url]http://www.daniweb.com/forums/announcement118-2.html[/url] To get our attention, you need to offer up some kind of attempt and ask a specific question. Besides, if these are your finals, then …

Member Avatar for saurai3h
0
1K
Member Avatar for shouvik.d

I'm guessing you trashed the heap somewhere in your program, and it's only when the program exits that you actually find out about it. [URL="http://msdn2.microsoft.com/en-us/library/5at7yxcs%28VS.80%29.aspx"]http://msdn2.microsoft.com/en-us/library/5at7yxcs(VS.80).aspx[/URL] "[B]Heap-Check Frequency Macros" [/B]You can request that the heap be checked on a more frequent basis, which may help you to figure out where it …

Member Avatar for atoutsweb
1
1K
Member Avatar for aasi007onfire

> Only [B]Ancient Dragon[/B] has the correct answer. He should have stopped at the end of the first sentence IMO. Attempting to rationalise or explain any apparent results doesn't help. > in our college we have a repeated C aptitude question... which goes like this > and the answer given …

Member Avatar for deceptikon
0
278
Member Avatar for faiza

> iam doing My final project in Asp.net i have few idea that i can shre with u. Would it be anything to do with [URL="http://en.wikipedia.org/wiki/TARDIS"]building one of these?[/URL] If so, then use it to travel back in time so you can reply to this post in a timely manner, …

Member Avatar for madelinekim
-2
204
Member Avatar for segoed

So work on one project in the morning, and the other in the afternoon. It would make your accounting for time a hell of a lot easier (excel spreadsheet easy). I can't imagine you getting anything solid done if you're context swapping between two projects several times an hour. You're …

Member Avatar for happygeek
-1
378
Member Avatar for bimaljr
Member Avatar for vvidyadhara

> can i add two numbers without using arthemetic operators I've no idea what you can or cannot do, but since you're asking, my guess is you can't. > can any one do it. I can. [url]http://www.catb.org/~esr/faqs/smart-questions.html#prune[/url]

Member Avatar for karthi.k.s
0
378
Member Avatar for srvinu

Please use code tags when posting code. http://www.daniweb.com/techtalkforums/announcement112-3.html If you're trying to determine which lines are common to both files, then perhaps an easier approach would be to look at the Unix ulilities - sort - diff - comm

Member Avatar for cod3r
0
679

The End.