3,892 Posted Topics

Member Avatar for Aia

Heh, no problem my friend, it feels good to help out someone who is ready to learn new things and put in everything they have got. Such a nice thing to say, reps to you. Btw, how does it feel to read "Aia is on a distinguished road" on your …

Member Avatar for ~s.o.s~
6
136
Member Avatar for dynamicdude

If your project is really on Securing Wireless networks you can try out Java as your choice of language. [URL="http://www-128.ibm.com/developerworks/java/library/wi-secj2me.html"]Read this.[/URL]

Member Avatar for Mix
0
227
Member Avatar for WaltP

[quote=cscgal;310606]Wow, what a relief! I was so afraid I would get lots of criticism about the missing forum descriptions and last thread info. Thank you for the positive comments and encouragement![/quote] Not so fast..... (there has to be a villian in the movie you know...) With this new format I …

Member Avatar for Dani
0
798
Member Avatar for Matt Tacular

A very simple algorithm for your needs: • Declare variables to hold the prime limit (the number till you want the prime numbers to be generated) and a flag which indicates whether a prime number was found or not (a boolean variable). • Since while checking for primes we normally …

Member Avatar for Matt Tacular
0
241
Member Avatar for raydogg57

You need to put single quotes around 0 and 9 for them to be treated as characters... [CODE=cplusplus]bool Characters_Allowed_Matrix(char a) { bool b; if ((a == ' ') || (a >= '0' && a <= '9') || (a == ';')) { b = true; return b; } else { b …

Member Avatar for ~s.o.s~
0
139
Member Avatar for Aia

[quote=Aia;310638]when you say const char strings are you refering to an array of chars?[/quote] Yes something of that sort, only thing to be taken care is that, the string literal should be constant. [code=c] const char name[] = "Daniweb" ;[/code]

Member Avatar for Ravalon
0
175
Member Avatar for hariza

[quote=joeprogrammer;298543]Of course, strlen() always returns the length of the string including the null charecter, but if you subtract 1 you get the actual string length.[/quote] Well now thats news to me, since I always thought it returned the number of characters which comprised the string, excluding the null character...;)

Member Avatar for hariza
0
5K
Member Avatar for Dave Sinkula

Yes -- not to mention the copy and pasting of code from my IDE to the WYSIWYG window results in scroll bars even when the 80 column limit is respected. It would be nice if the changes were done, though have managed it till now, so wouldn't be a problem …

Member Avatar for Dave Sinkula
0
619
Member Avatar for loslos

[quote=Lerner;310599]You should avoid using the return value of eof() as the controlling condition for a loop. There are two reasons I know of to want to do this. First, using the return value of eof() to terminate the loop is likely to cause a double counting of the last char …

Member Avatar for loslos
1
115
Member Avatar for Ancient Dragon

> There's not really much we can do about it, though. Actually there is a way. The moderators have to just replace the code tags and it should turn out to be fine. If you will again look at the first post of the thread under consideration, it was edited …

Member Avatar for Dani
0
207
Member Avatar for sonu2die4
Member Avatar for Dani

[quote=Infarction;309757]Holy thread necromancy, Batman![/quote] Aww, you are just killing the RPG spirit... Holy thread Necromancy, Diablo !!! :cheesy:

Member Avatar for ~s.o.s~
0
305
Member Avatar for keeray

Append the statement using namespace std; after the inclusion of the headers and you should be fine. This is because the C++ implementation wraps all the standard functions in a namespace std, so you have to make the compiler aware of that by using the "using namespace std;" statement. Also …

Member Avatar for Dave Sinkula
0
170
Member Avatar for olg411

Hey there buddy, welcome to Daniweb. :D You are always welcome here... ;)

Member Avatar for happygeek
0
7
Member Avatar for RaCheer

[quote=RaCheer;310502]Are there any shortcuts I could have taken? I really want to learn![/quote]Some points: • Instead of representing GPA's with seperate const variables which clutter the code, you could have used [search]enum[/search] or enumerations which group the GPA's logically in a single unit. Something like: [code=c] enum GPA { F, …

Member Avatar for ~s.o.s~
0
156
Member Avatar for mattyd

[quote=mattyd;310000]I am interested in understanding recursivity; I have not knowingly used this much in my programming. I am reviewing certain areas of OOP in order to learn more and better about areas that I may not be[I] fully[/I] understood yet. Recursivity is one of these areas. I understand the definition …

Member Avatar for Infarction
0
186
Member Avatar for MIGSoft

Something like [URL="http://www.daniweb.com/code/coder46588.html"]this ?[/URL]

Member Avatar for ~s.o.s~
0
151
Member Avatar for fiddlernson

Hey there buddy, welcome to Daniweb :D And a nice spot you have got there, a nice lake view wow... ;)

Member Avatar for happygeek
0
85
Member Avatar for jan1024188

Categorization is for the weak minded people who need a reason to learn a lanaguage. Programming is an art and language are the tools for artists. Of course if given a problem domain and the requirements, this question would have carried *some* validity but as such it stands its really …

Member Avatar for Ravalon
0
331
Member Avatar for tech291083

Hello. [quote=niek_e;307887]I don't think this is a good idea. The C/C++ forum is visited by a lot of newbies which don't have a clue that there's a difference between C and C++. So what you'll get is a lot of extra work for the moderators and a lot of 'moved …

Member Avatar for tech291083
0
132
Member Avatar for darkeinjel04

[quote=darkeinjel04;256060]Hi im new here...i am only an high school student, i hav a problem on my this output...im using turbo c, can u help me with ths?? i cant get it...pls help help me[/quote] Please post your code so we can what the problem is and point it out to …

Member Avatar for Nick Evan
0
109
Member Avatar for jan1024188

Better ask this question at the [URL="http://www.qtforum.org/cat/45/QtForumorg.html"]QT forums[/URL], they would be able to help you better.

Member Avatar for jan1024188
0
110
Member Avatar for hariza

The cause of the problem has already being mentioned by Walter: [QUOTE=Walt]Your input is storing the ENTER or the newline character you typed at the end of the word in the variable. You just need to remove the newline at the end . Use [I]strlen()[/I] to help find the end …

Member Avatar for John A
0
143
Member Avatar for Extremist
Member Avatar for sandeepmuleymca

There really is no way to automatically convert C++ -> Java or Java -> C++. They are too different in design for a conversion to be anything but hand-coded.

Member Avatar for vegaseat
-1
109
Member Avatar for pointers

Maybe [URL="http://www.codeproject.com/cpp/complex_declarations.asp"]this[/URL] will help you out.

Member Avatar for WaltP
0
200
Member Avatar for confussed!

Given your problem domain and your language exposure, Java would be better than C++. It has lot of inbuilt and handy classes which shift the task of implementing the trivial functionalities from you. An inbuilt GUI support ( Swing and AWT ) would really simplify matters specially when GUI in …

Member Avatar for confussed!
0
264
Member Avatar for Rickenbacker360

[quote=nick;308893]Numbers like 1 and 19884 are int, numbers like 3[COLOR=Red],[/COLOR]1415 and 0[COLOR=Red],[/COLOR]0134 are float.[/quote] That would be 3[COLOR=Red].[/COLOR]1415 and 0[COLOR=Red].[/COLOR]01345 -- it was probably a typo by Nick. [quote]You should read up on a lot of C, because if you don't know these basic things, Classes and OOP will be …

Member Avatar for Nick Evan
0
109
Member Avatar for GreenDay2001

[quote=joeprogrammer;309231]Not that the idea is bad, but maybe there's a nicer way of doing it?[/quote] That point has been already brought up by me, but Dani thinks that if Google and Amazon can do it, why can't we.. ? ;)

Member Avatar for ~s.o.s~
0
100
Member Avatar for malcolm mogg

Hello Malcolm, welcome to Daniweb. :D I have requested your thread to be moved to the appropriate forum, so that you can get the maximum help. And don't worry, we do have a lot of members with 50+ of age -- its never too late to start something.... ;)

Member Avatar for happygeek
0
138
Member Avatar for Lutzee

This is because [INLINECODE]erase[/INLINECODE] call expects both the parameters to be iterators while in your first line you have called the [INLINECODE]erase[/INLINECODE] function with an integer argument. Make appropriate change to the second argument of your first line to an iterator and it should be fine. *Hint: Use the same …

Member Avatar for ~s.o.s~
0
84
Member Avatar for ankit_the_hawk

Consider putting a [inlinecode]continue[/inlinecode] statement after the user enters a non digit character since there is no point in peforming undue looping when you know you haven't stored the character anyways... And btw, consider improving on your code indentation, would really make the code more readable. Try not putting the …

Member Avatar for Nick Evan
0
153
Member Avatar for KevinADC

I guess Miss Dani once said the IntelliTXT ads were only for the reputed sites like Intel, Microsoft etc. But I think things are changing rather fast here... One thing we should not be responsible for while advertising is to misguide people. Miscrosoft, Intel are okay since they don't atleast …

Member Avatar for Dani
0
582
Member Avatar for wait4the1

Though other people might have different views on this, here is what I personally think : [quote=wait4the1;308559] * I can do system programming with * I can build a compiler with * I can use to fool around with the Linux Kernel * I can program my own Linux distro …

Member Avatar for Ravalon
0
92
Member Avatar for mattyd

"You must be missing one of the lib files...." "I hope you aren't using *nix" "Have you tried banging the sides of your monitor." "I knew Pascal wasn't a good choice for this product..." :mrgreen:

Member Avatar for Sulley's Boo
0
182
Member Avatar for apurv

But since there is a definate pattern here (something is getting replaced or subsituted by something) it always is easy to crack to Substitution or Caesar Cipher. So it won't matter much no matter how long strings you use since there will always be a simple formula which the hacker …

Member Avatar for sham51
0
148
Member Avatar for coolman2006
Re: Lisp

[quote=iamthwee;307430]I bet you that will peeve off a lot of regular members. [/quote] No, it won't, as long as you have something useful to contribute.

Member Avatar for ~s.o.s~
0
129
Member Avatar for flageolet

It would have been better if you would have just attached the txt file along with the post. It would save us the trouble of running one extra program esp so when the program is in a foreign langauge.. ;)

Member Avatar for Salem
0
154
Member Avatar for sydryz

Don't you think its rather vague description....Btw does your project work perfectly fine when you run it ? Is the problem only with the .exe creation or of the program as a whole. Normally such behaviour happnes when a code snippet in your program goes in an infinte loop. Are …

Member Avatar for ~s.o.s~
0
121
Member Avatar for Fallenangel
Re: Hi

Hey there girly, welcome to Daniweb... :D Good to meet a House / Scrubs fan... ;)

Member Avatar for happygeek
0
43
Member Avatar for Marks256

If you are ready to put in this much effort, then why not learn an API which is portable and which can be programmed in a multitude of languages. Something like [URL="http://www.wxwidgets.org/"]wxWidgets[/URL] and the likes.

Member Avatar for WaltP
0
146
Member Avatar for vandenbaret

Welcome aboard my friend, welcome to Daniweb. :D And its okay if you have bad English, its not my first langauge either.. ;)

Member Avatar for jbennet
0
115
Member Avatar for SubTonic
Member Avatar for happygeek
0
34
Member Avatar for stan yost

[quote=stan yost;296953]How can I run some code when I click on an arrow of a data control?[/quote] Drag the ADODC control onto the form (by importing the component Microsoft ADO Data Control ActiveX Control using Project -> Coponents), double click on it. Write all the code you want in its …

Member Avatar for stan yost
0
81
Member Avatar for ankit_the_hawk

Seeing that you are ready to take in real knowledge and are inquisitive about it, I would recommend you read [URL="http://www.gidnetwork.com/b-61.html"]this[/URL]. Posted by one of our moderators WaltP.

Member Avatar for ankit_the_hawk
0
116
Member Avatar for VatooVatoo

Hey there buddy, welcome to Daniweb. :D Looking for more answers from you than question... ;)

Member Avatar for jbennet
0
30
Member Avatar for shamie
Member Avatar for bosko

Also read [URL="http://www.fredosaurus.com/notes-cpp/io/eof.html"]this[/URL].

Member Avatar for ~s.o.s~
0
124
Member Avatar for khoramdin

Hey there buddy, welcome to Daniweb.. :D And btw, don't worry, you will find your way around here -- it takes time to adjust to new things. Head over to the C# section and ask your queries there. ;)

Member Avatar for ~s.o.s~
0
60
Member Avatar for flageolet

How about posting some code.. ? I mean the running code so that we can try it out.

Member Avatar for flageolet
0
117

The End.