5,237 Posted Topics

Member Avatar for himabindu

> we want complete c programme for huffman encoding & decoding What is the value of your degree if you download answers and ask everyone else to do it for you? What are you going to do when you get your dream programming job and they give you something really …

Member Avatar for ck.ckravi
0
258
Member Avatar for gebbit

> In case you didn't notice, the fellow wanted the code in C. He also wanted it 3 YEARS ago as well. Not only late, and in the wrong language, it's also old C++, and non-portable. Use '0', not 48 (like was used oh so long ago in a galaxy …

Member Avatar for themoon49
0
2K
Member Avatar for teteret

> i finish writing my code but i have no idea how to write the pseudocode since classes and functions are involved You're supposed to do the design (classes etc) and pseudo-code before doing the actual code. They're the design and scaffolding you use to build the thing you really …

Member Avatar for chipepalf
0
144
Member Avatar for orium

Just in time then. Loops only nest from March to September, then they begin their migration south for the winter :icon_biggrin:

Member Avatar for maverick420
0
1K
Member Avatar for eranga262154

Perhaps if you viewed the syntax as [code] ::memcpy(&tmpBuffer[0], &iReq, 4); ::memcpy(&tmpBuffer[4], &strGetName, 6);[/code]

Member Avatar for kia_barghi60
0
282
Member Avatar for blud
Member Avatar for samaru

Whatever topic this thread had, it has now become a 4 year old dumping ground for an assortment of whiners complaining about how unfair the universe is.

Member Avatar for happygeek
0
2K
Member Avatar for auhuman
Member Avatar for its.romi

[url]http://www.codeblocks.org/downloads.shtml[/url] Download "Code::Blocks IDE, with MINGW compiler" In other words, join the 21st century and leave your fossil compiler in the museum.

Member Avatar for chat2fanna
-3
315
Member Avatar for OffbeatPatriot

Well you're expecting thread 1 to do this[ICODE][COLOR="Red"]load var[/COLOR] [COLOR="Red"]add 4[/COLOR] [COLOR="Red"]store var[/COLOR][/ICODE]and thread 2 to do this (before or afterwards), [ICODE][COLOR="Green"]load var[/COLOR] [COLOR="Green"]sub 4[/COLOR] [COLOR="Green"]store var[/COLOR] [/ICODE] Then all will be well. But if it actually goes like this (or many other variations which interleave the instructions), [ICODE][COLOR="Red"]load var[/COLOR] …

Member Avatar for BestJewSinceJC
-1
148
Member Avatar for alvalany

Seems to me like a case of not using the right tools for the job. Doing this as a browser plugin would be a snap (by comparison). Starting where you are, you're basically saying "I need to use gmail to send an email - I know, first thing I'll do …

Member Avatar for SpaceTiger
-1
290
Member Avatar for fma_circuit
Member Avatar for NotNull
-1
122
Member Avatar for Comix Zone

> i have some work for school that have to finish fast [URL="http://www.catb.org/~esr/faqs/smart-questions.html#urgent"]What else is new[/URL] > code that I've found here is written in C++ and i need it in C 10/10 for your google skills, but I bet the point of the test was to find out how …

Member Avatar for Comix Zone
0
228
Member Avatar for ide

I suggest you get a new hard disk. It might start losing a sector a month, and before you know it, several sectors a week. How long before that wipes out something important, rather than the couple of hours it takes to reinstall the OS? Error rates for disks seldom …

Member Avatar for feng128
0
135
Member Avatar for redreed

[url]http://www.codeblocks.org/[/url] [url]http://www.microsoft.com/express/[/url] Both are FREE (except for the time taken to download) Both WIPE THE FLOOR with the fossil you have. Both will serve you well when you want to actually USE the OS you're running on. Have you considered that your 20 year old fossil might not like - …

Member Avatar for redreed
0
308
Member Avatar for Ancient Dragon

I agree. They're just another road hazard for noobs to trip over as it stands.

Member Avatar for Dave Sinkula
0
351
Member Avatar for FBIRyan

So what's wrong with remembering where you last drew the pixel, rather than trying to find it again sometime later.

Member Avatar for nFectid
0
2K
Member Avatar for dumrat

Some additional reading, which Dave's links allude to. [url]http://www.itis.mn.it/linux/quarta/x86/lock.htm[/url] [url]http://www.dlugosz.com/Repertoire/refman/Classics/atomic_counter_whitepaper.html[/url] [url]http://www.informationdelight.info/encyclopedia/entry/x86_assembly_language[/url] You're not going to be able to do this in simple ANSI C, without getting your fingers grubby with assembler, or getting the OS involved in some way.

Member Avatar for jyh5
0
133
Member Avatar for walter clark

Tutorial series. [url]http://www.adrianxw.dk/SoftwareSite/Consoles/Consoles1.html[/url]

Member Avatar for Cosmin871
0
104
Member Avatar for kaninelupus

> as my colleague's excuse for my disagreeing with him is that I'm from the last generation, and so I "just don't get it"! Nothing dates technology quicker than oldies getting hold of it and saying how great it is using "yoof" words to describe it ;) I'm waiting for …

Member Avatar for crimgirl
-2
280
Member Avatar for adsiq

[url]http://www.parashift.com/c++-faq-lite/operator-overloading.html[/url]

Member Avatar for shaneselling
1
121
Member Avatar for meanace

Do you want to? - clip extreme values, say if ( x > 25 ) x = 25 ? - scale the graph (max=100), so px = x * 25 / max

Member Avatar for meanace
0
173
Member Avatar for hathehariken

Ah, another geography question. For instance, some idea of your location and how much you're willing to pay, and some evidence of [URL="http://lmgtfy.com/?q=Intel+Server+Board+S5000"]looking for yourself[/URL] Mmm, $500 +/-

Member Avatar for vincent2085
-1
145
Member Avatar for amanda2009
Re: crm

[url]http://www.daniweb.com/forums/announcement14-2.html[/url] [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url]

Member Avatar for amanda2009
-1
137
Member Avatar for NightLightSky

Look at some other forums as well [url]http://cboard.cprogramming.com/cplusplus-programming/119631-pythagorean-numbers.html[/url] oh wait, you're already there, and making progress. Why are you here as well? Read these [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url] [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url]

Member Avatar for Foamgum
0
174
Member Avatar for xagutxu

Try [ICODE]volatile int variable;[/ICODE] Even then, you should really use proper synchronisation. If the compiler sees [code] int variable = 0; while (variable == 0) [/code] the optimiser (in release builds) will see that there is no (obvious) way that variable can change, and so it optimises the code to …

Member Avatar for xagutxu
0
129
Member Avatar for haykins

> Now I want a shell script to automate this process. Give us an idea of the kinds of repetitive commands you type in (and as skanke points out - which machine you type them on). Perhaps then, we can suggest various script features to automate it. (((please let it …

Member Avatar for sknake
-1
86
Member Avatar for CD-4+

Short answer - don't mix cin and getline. They don't play well together. Plenty of past posts and answers for this problem, look around.

Member Avatar for mrnutty
0
157
Member Avatar for Kombat
Member Avatar for Kombat
0
148
Member Avatar for Prakash_8111
Member Avatar for Kombat

[url]http://www.daniweb.com/forums/thread223648.html[/url] The amount of effort it took just to reverse a string makes this near impossible for you. You need some more intermediate steps if you actually want to make a contribution for yourself rather than waiting for us to write it all a few lines at a time.

Member Avatar for Salem
0
432
Member Avatar for vishalkhialani

> I use only linux and I am unable find the compiler. And what are you going to do with the executable when you've compiled your code?

Member Avatar for vishalkhialani
0
523
Member Avatar for wrxturbo8

[url]http://en.wikipedia.org/wiki/Non-maskable_interrupt[/url] > Devices (Bus:Dev:Func) with SERR set at the time of the NMI:01:1C:01" Depending on your BIOS (it may also be in windows device manager somewhere), you might be able to find out what the bus/device part is at least. > all tests it runs get the green check mark …

Member Avatar for wrxturbo8
0
331
Member Avatar for scootscoot

16 replies over here -> [url]http://cboard.cprogramming.com/c-programming/119668-circular-buffer.html[/url] In other news -> [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url] And finally, the weather -> [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url]

Member Avatar for dkalita
0
146
Member Avatar for Kombat

> That is how I get the binary. That's how you do it for every other base as well.

Member Avatar for yellowSnow
0
2K
Member Avatar for lotrsimp12345

pipes are a POSIX API (and not a language issue at all). If you've got an appropriate declaration, then you can call them from whatever language you like (perl and python can access pipes as well).

Member Avatar for lotrsimp12345
0
174
Member Avatar for TGeorge824

> typedef struct queue_type *Queue; This should come AFTER your actual struct declaration.

Member Avatar for Dave Sinkula
0
925
Member Avatar for RedWinger

There's a memory overwrite bug in your code somewhere (most likely anyway). Without seeing the whole code, we're not going to figure anything out staring at those 3 lines.

Member Avatar for Salem
0
101
Member Avatar for Mafia619

Ignore this, reposted here with tags [url]http://www.daniweb.com/forums/thread223821.html[/url]

Member Avatar for Salem
0
104
Member Avatar for av_javabeg

> the most complicated program ive made is something that converts hexa to octa and all. You've mastered hopscotch on the paving slabs, and now you want to try and leap across the Grand Canyon. jasimp is right, you've got a hell of a lot of learning to do before …

Member Avatar for Salem
0
117
Member Avatar for jhunluis

More cross-forum spamming [url]http://cboard.cprogramming.com/c-programming/119681-help-c-code.html[/url] Ever feel like you're just wasting effort reading and answering the SAME question over and over again?

Member Avatar for Salem
0
166
Member Avatar for shen747

[url]http://cboard.cprogramming.com/cplusplus-programming/119676-need-help-compiling-vcplusplus-6-project-dev-cplusplus-4-9-9-2-a.html[/url] and [url]http://www.daniweb.com/forums/thread223732.html[/url]

Member Avatar for Salem
0
172
Member Avatar for rajesh.hck
Member Avatar for dgr231
0
102
Member Avatar for eniwe

You haven't actually executed the pop ebp yet, so of course it has the old value.

Member Avatar for eniwe
0
106
Member Avatar for Samyx

A pointer to a 2D array is not a ** [url]http://www.daniweb.com/forums/post859293.html#post859293[/url] Use the typedef approach if you want to keep your sanity ;)

Member Avatar for Salem
0
124
Member Avatar for suutukil

[url]http://www.daniweb.com/forums/thread223471.html[/url] Patience, don't spam the board in a panic.

Member Avatar for wheel
0
159
Member Avatar for bernadlosini

if(! CreateProcess("C:\\WINDOWS\\system32\\cmd.exe", This needs to be something like [ICODE]if(! CreateProcess("C:\\Users\\me\\Documents\\Projects\\Fib\\myfib.exe",[/ICODE] It does all the work. This code just has to create the process and wait for it to finish.

Member Avatar for Sameer.coder
0
974
Member Avatar for JungWoo

> actually i wonder how can i make header file with private and public data? Yes, they're called [COLOR="Red"]class[/COLOR]es. Which is pretty much the root concept of C++ programming. Time to read the book again.

Member Avatar for Dave Sinkula
0
141
Member Avatar for vivekarora

Same answer as your other thread [url]http://www.daniweb.com/forums/thread221310.html[/url] Or you could mention which OS/Compiler you're using. For Linux, I strongly recommend valgrind for finding overruns and leaks.

Member Avatar for vivekarora
0
209
Member Avatar for jdam7459

a) Your "cd" command only lasts as long as the sub-process does (and it only affects the sub-process). If you really want to change the directory in this process, you need to use the chdir() API call. b) You already have the directory in a string, so why not try …

Member Avatar for marco93
0
132

The End.