6,741 Posted Topics

Member Avatar for c0d0

>I wanna learn assembler and I can't find any good sites... That's because there aren't any. The lack of resources makes assembly much more difficult to learn. You'll end up spending a lot of time with google piecing together little bits from all across the board. >what ones would u …

Member Avatar for SamY
0
221
Member Avatar for grunge man

>how do u write this if then statment but in c++ if g=3282 then g=k; Don't you have a book? Learning a language is extremely difficult without a proper reference available. >to bad there wasnt a then like there is an else in c++ Why? "then" is typically used as …

Member Avatar for grunge man
0
754
Member Avatar for The Dude

Strangely accurate: [IMG]http://images.blogthings.com/worldsshortestpersonalitytest/white.jpg[/IMG] You are pure, moral, and adaptable. You tend to blend into your surroundings. Shy on the outside, you're outspoken to your friends. You believe that you live a virtuous life... And you tend to judge others with a harsh eye. As a result, people tend to crave …

Member Avatar for sleepygamer
0
245
Member Avatar for UGT001

Windows users tend to find Linux easier if they start out with a good GUI environment like KDE or Gnome. You don't [b]have[/b] to start out using the command line. ;)

Member Avatar for John A
0
128
Member Avatar for shan06

TASM has an ideal mode that's very close to MASM syntax. As such, any book that uses MASM or similar will work for TASM as well. That said, I don't know of any good books that use it, so I can't recommend any. Do a google search and you'll be …

Member Avatar for GenevaStar
0
134
Member Avatar for comp_sci11

I refuse to look at your code until you format it like a normal human being. It would also help if you'd stop acting like a wuss and ask a [url=http://www.catb.org/~esr/faqs/smart-questions.html]smart question[/url].

Member Avatar for comp_sci11
0
152
Member Avatar for The Dude

Just out of curiosity, do you post threads like this because you're incapable of coming up with something original? I sure hope not. It would be a truly sad existence if your only claim to fame is as a middle man providing links to other people's work.

Member Avatar for The Dude
0
99
Member Avatar for joshilay

>who are you to decide this ?? The forum rules decided this and the community enforces it. If you have a problem with that, leave.

Member Avatar for Laiq Ahmed
0
169
Member Avatar for joshilay

Because you're just swapping addresses, not values. You want to dereference the pointers: [code] void f( int *a, int *b) { int temp; temp=*a; *a=*b; *b=temp; } [/code]

Member Avatar for Salem
0
277
Member Avatar for sgriffiths

Presumably, mvwprintw is just a wrapper around some form of printf, so unless you want to look at your documentation, we can only assume that the format modifier follows the same rules. The asterisk means that a value will be supplied as a later argument. The first asterisk is the …

Member Avatar for Narue
0
88
Member Avatar for Marthy

>What is the Importance and uses of data stuctures in Programming using C/C++ when using it? That should be intuitively obvious. Data is critical to programming and storing that data in effective ways is equally critical. >How Stack,Queue,and list works and give example problem that solve stacks This reeks of …

Member Avatar for Laiq Ahmed
0
90
Member Avatar for viermus

[QUOTE=elektroniklotto]Well go to [url]www.google.com[/url] to check 4 what so ever u are looking 4[/QUOTE] Wow, and just as I was beginning to hope that the real posting geniuses had left us... Let's start with your silly use of 4 and u. Such abbreviations are neither smart nor appropriate for a …

Member Avatar for thandermax
0
136
Member Avatar for TJW

>hey ..d ans is very simple d array shld be declare as array[4] nt as array[3] ..dis is solve it Not only are your grammar and spelling atrocious, this thread is over [B]two years old[/B]. Look at the date of the thread before you post in it, please. And keep …

Member Avatar for Dave Sinkula
0
194
Member Avatar for sgriffiths
Member Avatar for joshilay
Member Avatar for joshilay
0
93
Member Avatar for dilip.mathews

>Its always priniting output as 16. Why is it like that? Because that's the actual size of the object. The implementation probably looks something like this: [code] template <class T, class Traits = char_traits<T>, class Alloc = allocator<T> > class basic_string { public: // Lots and lots of interface stuff …

Member Avatar for Narue
0
123
Member Avatar for paramveer

>Could anyone of you tell me how to convert string to const char* in C [code] const char *p = my_string; [/code] >function c_str() is not working Are you working with C or C++? Make up your mind. C doesn't have a string type, and C++'s string type is incompatible …

Member Avatar for Narue
1
112
Member Avatar for MIGSoft

They've giving away all of our secrets! Now I have to destroy them with my orbiting brain lasers.

Member Avatar for jbennet
0
158
Member Avatar for hadi_82

>what is actually meant by object oriented Put simply, the problem is solved by thinking with objects. Then you ask what an object is and we say that it's a self-contained unit of data and code that operates on that data such that a single problem can be addressed using …

Member Avatar for hollystyles
0
244
Member Avatar for tejuarora

This reeks of homework, and it would be better placed in the Software Design forum.

Member Avatar for alc6379
0
78
Member Avatar for tejuarora

I'm sorry (not really), but the best way to get your butt ignored is to copy and paste your homework like that. It implies that you think we're obligated to do everything for you, which we aren't. That's very presumptuous and incredibly rude.

Member Avatar for alc6379
0
91
Member Avatar for rehmankhan

Please don't attach your code like that. Most of us won't go through the effort of downloading an attachment. Your code is short enough to fit easily within the post, as are your homework requirements. There's no need to attach it as a word document. And no, we won't do …

Member Avatar for rehmankhan
0
110
Member Avatar for lexaTW

>are the languages part of any of them Yes. >Any suggestion on what to order? Go to the Visual Studio web site and compare features, then order what best fits your needs.

Member Avatar for edu.quest
0
207
Member Avatar for FireNet

>i have no clue what i'm doing Obviously. >It's fairly easy to use a ostringstream object or a derived class to output >text like a normal stream class like cout. And it's usually a disaster. The correct way to customize a stream to a different destination is to replace the …

Member Avatar for FireNet
0
539
Member Avatar for dilip.mathews

A pointer to a member requires three distinct parts. First, you need to create a pointer (qualified by the class whose member it points to): [code] #include <iostream> class test { public: int i; }; int main() { int test::*p; } [/code] Then you need to assign the member you …

Member Avatar for dilip.mathews
0
170
Member Avatar for julesjacobs

>Which argument-passing-styles are available? Um, all of them. >What is the best way to create/call procedures? It depends on your needs. It could be as simple as a jmp there and back to a full call/ret pair with a stack frame and all of the glitz and glitter that high …

Member Avatar for julesjacobs
0
114
Member Avatar for Fasola

Static allocation is fast, but set in stone. Dynamic allocation is slower, but you can grab varying chunks. This sounds a lot like a homework question.

Member Avatar for samaresh
1
567
Member Avatar for Chadman

>i'm not yet a computer programmer but i want to be soon Okay, be sure to start small and work your way up to what you want to do. Most people jump into programming and expect to write the next killer app after a few months of learning. Then they …

Member Avatar for Chadman
0
63
Member Avatar for julesjacobs

[QUOTE]- If I create this compiler, is it easier/better to compile to assembly, and then let an assembler translate that to machine code, or compile directly to machine code?[/QUOTE] It's easier to delegate the nitty gritty machine code stuff to an assembler. If you're writing a simple compiler then that's …

Member Avatar for huffstat
0
328
Member Avatar for sgriffiths

The "a" mode of fopen always appends, regardless of any seeking you do afterward. You want to open the file with "w+b" for write/update access in binary. You have to use binary because text doesn't allow arbitrary seeking like you're trying to do. You may also want to read up …

Member Avatar for sgriffiths
0
2K
Member Avatar for The Dude

Seven. >1- 9 correct - You're, like, sorta a teenage dude? Works for me. :)

Member Avatar for Dani
0
141
Member Avatar for Dani

>However, what would be most helpful or useful to YOU guys? Being able to choose how they're sorted from, say, a drop-down list.

Member Avatar for Dani
0
241
Member Avatar for kishore22

>I need the logic to implement a stack by using two queues. There's no practical application for this, so we can definitely conclude that it's homework. In that case, what have you tried and what have you learned from it? We're not going to just solve the problem for you …

Member Avatar for Narue
0
111
Member Avatar for ~s.o.s~

>#include <assert.h> You haven't used this, so there's no point in including it. >#include <malloc.h> stdlib.h is the header you want for malloc. >#include <conio.h> You don't use anything from conio, so why kill your program's portability? >main ( ) The correct definition for main is [inlinecode]int main ( void …

Member Avatar for Ancient Dragon
0
169
Member Avatar for xfruan

It means that Visual C++ 6 sucks. This is a known problem with that compiler, and it has nothing to do with your code, which is correct. The newer versions of Visual C++ are much better about such things.

Member Avatar for Narue
0
250
Member Avatar for nanodano

I've done enough CGI with C and C++ to realize that they're very poor languages for it. Perl, or any language with powerful string handling capabilities, is much better suited to CGI.

Member Avatar for Rashakil Fol
0
493
Member Avatar for >shadow<

>What other forums are you a member of? Presently I visit daily: Daniweb cprogramming.com programmingforums.com wambooli.com comp.programming comp.theory comp.lang.c comp.lang.c++ alt.lang.asm comp.lang.asm.x86

Member Avatar for Erich K
0
822
Member Avatar for Nedals

params is a pointer to the cells array, but the cells array is destroyed when build_celldata returns.

Member Avatar for Nedals
0
114
Member Avatar for brale
Member Avatar for server_crash

It's a type mismatch. %d expects a pointer to int, but you give it a pointer to double. >just test whether the input IS numeric? If scanf returns a certain value, it failed. Your documentation will tell you what values mean what failures.

Member Avatar for WolfPack
0
850
Member Avatar for >shadow<

>It's probably based on your posting pattern and the frequency of your visits. No, it's a popularity contest. The moderators vote on it. :)

Member Avatar for goldeagle2005
0
367
Member Avatar for yuelabtina

I'm betting your header file doesn't have inclusion guards on it: [code] #ifndef MY_HEADER #define MY_HEADER #define LOWFREQ 1 #define HIGHFREQ 30 #define CHANNEL 2 #define MAXSAMPLE 200 class WAVELET1 { private: double fTF [CHANNEL][HIGHFREQ-LOWFREQ+1][MAXSAMPLE]; public: WAVELET1( void ); ~WAVELET1( void ); void testTF( int,double, double *); double correlation( int, …

Member Avatar for yuelabtina
0
238
Member Avatar for wawankot

There's no portable way to do this. What compiler and OS are you using?

Member Avatar for wawankot
0
86
Member Avatar for thnass
Member Avatar for kris.c

>Now, check for any repeated numbers, or numbers that are on the index >same as themselves using recursion; change the number again using >another rand() call. keep track of the number of changes made. Theoretically, this could be a neverending process. It's also very complicated, and I'm surprised it's the …

Member Avatar for Narue
0
284
Member Avatar for ghadahelal
Re: I\o

>then after reading the input file will b as shown 100 Files are persistent, they don't work like that. If you want a destructive read, you'll need to build it yourself by rewriting the file. Since that's an expensive operation, you'll want to seriously consider whether you really need this …

Member Avatar for Ancient Dragon
0
217
Member Avatar for induricharan

They're stored in the folder you specified when you created the project.

Member Avatar for Narue
0
210
Member Avatar for thentrion

I know it doesn't seem like it to you, but your question is ridiculous. I get the impression that you don't know C++ very well, you're new to programming in general, and you want to do one of the harder things in the programming field? Start with console mode programs …

Member Avatar for Narue
0
193
Member Avatar for Vada

>please send in my mail If you're too lazy to come back here and get your answer, we're too lazy to provide you with one. >Hey it is dam URGENT Funny, I don't feel rushed at all. >my school is going to open within two days In other words, you …

Member Avatar for server_crash
0
209
Member Avatar for tlly

>A friend gave me those questions but up till now i have not been able to do them..!! Is your "friend" a teacher who teaches C and who's class you happen to be in?

Member Avatar for Dave Sinkula
0
214

The End.