2,839 Posted Topics

Member Avatar for sunil.adhyaru

Here's the explanation: [URL="http://gregs-blog.com/2007/12/31/how-to-fix-visual-studio-bug-rtc1-and-clr-options-are-incompatible/"]click[/URL]

Member Avatar for Nick Evan
0
65
Member Avatar for technogeek_42

[URL="http://opengroup.org/onlinepubs/007908799/xsh/getdate.html"]Getdate[/URL] Now first try coming up with something yourself and come back if you encouter problems

Member Avatar for technogeek_42
0
442
Member Avatar for The Midnighter

You could just read the file one word at a time with filestreams instead of using getline(), it would save you a lot of time.: [code=c] std::ifstream in ( "myfile" ); if ( in ) { std::string word; while ( in>> word ) { spellCheck(word); } } [/code] If you …

Member Avatar for chaosatom333
0
105
Member Avatar for zwench

[QUOTE=zwench;544411]I did have what errored at the very top of my post and said it says it is not defined..[/QUOTE] What is not defined: Convert.ToSingle or a variable name? I've glanced over your code, but you never declare txtInitialValue,txtSalvageValue and txtAssetLife Please post the exact compilererror Niek

Member Avatar for zwench
0
275
Member Avatar for Wilderness Bob

What have you done so far? Do you understand how arrays work? Have you chosen a sorting algorithm?

Member Avatar for Monza
0
115
Member Avatar for cs_tx_usa
Member Avatar for Michael_Knight

[url]http://www.youtube.com/watch?v=Mt1bgsvsWms[/url] That video gave me an idea: I made a wave that had 5 minutes of silence and then a loud scream. Set it as the startup sound on a co-worker's computer and watched him :)

Member Avatar for MidiMagic
1
142
Member Avatar for sbv

try this: [code=vb.net] gridMatchedDB.Columns(0).Width = 10 gridMatchedDB.Columns(1).Width = 80 [/code] This should change the width of the first column to 10 en the second to 80

Member Avatar for suganzeni
0
128
Member Avatar for leokuz
Member Avatar for sneekula

Neither. When I was *a lot* younger, I passed out from wisky... That was the end of my wiskeyadventures. I drink coffee at day-time (and lots of it) and for inspriration I have a [URL="http://images.breuls.org/blog/200404/grolschBeugel.jpg"]Grolsch-Beugel.[/URL] (local beer) Niek

Member Avatar for bumsfeld
0
267
Member Avatar for atish00

cin is the name of your input, so what the user enters. (cout, cin get it?) [quote] and what does the [..code] do[/quote] It converts a string to an int.

Member Avatar for atish00
0
112
Member Avatar for littlegreen

How about giving each item a unique id? Just add an extra variable: [code=php] $count = 0; while($disp=mysql_fetch_array($disp_de)) { echo '<tr><td>'; $dis= $disp['pp_desc']; echo "<p id=\"desc".$count."\">".$dis."</p>"; echo '</td></tr>'; $count+=1; }[/code]

Member Avatar for littlegreen
0
213
Member Avatar for Mido â„¢

- [ICODE]#include <iostream.h>[/ICODE] should be [ICODE]#include <iostream>[/ICODE] . - [ICODE]void main()[/ICODE] should be [ICODE]int main (void)[/ICODE] That's the way it's defined. You also need to add a [ICODE]return 0;[/ICODE] when your program is done -You need to declare the functions before using them (for example: add[ICODE] void addrec(void);[/ICODE] before main() …

Member Avatar for hammerhead
0
225
Member Avatar for chocl8drop

I don't see anything wrong with it, so it's probably in your headerfile (ComplexNumbers.h) . Can you post the code from the header file? Niek

Member Avatar for chocl8drop
0
739
Member Avatar for joshmo

First thing I notice is this line : [code] if (buffer='ISBN') {[/code] This line means: if (assign 'ISBN' to buffer) ==succes But that is probably not what you meant. (even if it was, it would still fail) I'm guesssing that you want to check if buffer hold "ISBN" as value? …

Member Avatar for joshmo
0
96
Member Avatar for suresh1010

[QUOTE=suresh1010;547758].. thanks... but i hav tried this one out , but in turbo Cpp compiler... it pops an error tat.. dot operator is (.) is not allowed.. is it the exact function... [/QUOTE] The code is ok, but [I]codeaa[/I] probaly uses a [icode]using namespace std;[/icode] in his code. Although this …

Member Avatar for Ancient Dragon
0
180
Member Avatar for push
Member Avatar for push
0
67
Member Avatar for scru

Haha, Dani is right. A week ago a gave someone neg-rep for making a post in 6 forums and the site told me: "Thanks for giving reputation, may you be lucky enough to receive some in return" :)

Member Avatar for scru
0
71
Member Avatar for amitpatney

Thats one solution.. I would [URL="http://www.howtodothings.com/computers/a3744-how-to-convert-access-to-mysql.html"]convert [/URL]it to a MySQL DB and then use PHP on a webserver to read the data. There are a lot of tutorials on the web, how to read DB with PHP and it's really not that hard if your database isn't too big.

Member Avatar for harryl5
0
138
Member Avatar for ithelp

Or do you mean the pentagram hidden in the image? But what do Mercury, Venus and Earth have to do with it? Niek

Member Avatar for sneekula
0
162
Member Avatar for c++ prog

I'm getting a deja vu, I read this thread a few days ago already. Right? What do you use to playback the mpeg?

Member Avatar for Nick Evan
0
85
Member Avatar for noble3ad

I've found something on [URL="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=15218&SiteID=1"]MSDN[/URL] Niek

Member Avatar for noble3ad
0
61
Member Avatar for pohyf

If your password is a string, you need to break it up in seperate chars (an array of chars) and then use the Xor operator on each character.

Member Avatar for dotnetclassic
0
93
Member Avatar for Saman Aslam

Use the TextBox_TextChanged event on both textboxes. If the first is changed, disable the second and vice versa. Here's an example: [CODE=vb.net] Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged TextBox2.Enabled = False End Sub Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Member Avatar for Nick Evan
0
127
Member Avatar for Moporho

[QUOTE=Moporho;545915]The Super Calculator does not display sign off either! [/QUOTE] [code=cplusplus] if(oper=='=') { cout << "Result: " << acc << endl; oper ='+'; acc=0 ; break; } [...more code....] if(oper=='!'||oper == '=') { } [/code] The second of statement will never be reached if you enter '=' because you break …

Member Avatar for WaltP
0
191
Member Avatar for sfurlow2

You're in the right direction. One thing you should be carefull about is declaring an int (or some other var) and NOT giving it an initial value. So change all your declarations to this: [code=c] int highest_pos = 0; int lowest_pos = INT_MAX; int counter = 0; int highest_neg = …

Member Avatar for WaltP
0
93
Member Avatar for densman

First you have to split the string in 3 pieces, then run each substring against an array where your data is stored. If you post some code what you have done so far, people here can help you further. Niek

Member Avatar for Nick Evan
0
117
Member Avatar for noble3ad

Perhaps. But why not take the good advice from WaltP. That would be the easiest solution by far. Niek

Member Avatar for noble3ad
1
115
Member Avatar for manzoor

thing to do: - find all the mutiples of 3 that are smaller then 1000 - find all the multiples of 5 that are smaller then 1000 - add all the number you've found - done You might want to look at the modules (%) operator for this assignment Good …

Member Avatar for manzoor
0
113
Member Avatar for ! !

[QUOTE=frankbenji;538252]Every smoker need some quit smoking course to avoid smoking. [/QUOTE] I think it's too late for smokers to avoid smoking :)

Member Avatar for jbennet
0
438
Member Avatar for rohoni

[URL="http://www.functionx.com/cpp/Lesson25.htm"]Operator overloading[/URL] I've checked out your Blog. Did you realize that your examples only compile in Turbo c++ ?

Member Avatar for farag
0
150
Member Avatar for Iqbal_h_a

you're right. The problem is probably [URL="http://www.cplusplus.com/reference/clibrary/cstring/strlen.html"]strlen[/URL](). [quote=c++ reference] The length of a C string is determined by the terminating null-character: A C string is as long as the amount of characters between the beginning of the string and the terminating null character. [/quote] Not having a \0 to terminate …

Member Avatar for Nick Evan
0
119
Member Avatar for zandiago

My first name actually is Niek, but I'm in a band with another Niek, so my name changed to Niek_E to avoid confusion and thats's how I've been called eversince :P

Member Avatar for jbennet
0
364
Member Avatar for RexxX

A nice link for linked lists: [URL="http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_linklist.aspx"]click[/URL] a few things: - Why is tempnum a global variable? - iostream.h is outdated, use <iostream> instead. - you probably want to post this is the C++ forum - main always return something (an int) The reason why the program crashes is this …

Member Avatar for Aia
0
104
Member Avatar for Jboy05

What do you know about [URL="http://www.dummies.com/WileyCDA/DummiesArticle/Working-with-Functions-in-C-.id-1047.html"]functions[/URL]? If you want to return 3 variables you'll probably need an array of ints. Or you could pass 3 ints by reference.

Member Avatar for Jboy05
0
105
Member Avatar for wollacott

Do something like this: Loop through all the chars if the previous char was a full stop, and the current char is between 'a' and 'z' subtract 32 from it to make it uppercase ([URL="http://asciitabel.nl/"]click[/URL]) Try implementing this in code, and come back if you have questions! Niek

Member Avatar for Dave Sinkula
0
81
Member Avatar for cosmos22

To clear the screen: [URL="http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1031963460&id=1043284385"]click[/URL] To set your title: [code=cplusplus] #include <windows.h> int main() { SetConsoleTitleA("This is my Consolewindow!"); return 0; } [/code]

Member Avatar for cosmos22
0
149
Member Avatar for wollacott

[edit] I've just read [URL="http://www.daniweb.com/forums/thread110090.html"]your other thread[/URL], which made this post obsolete..[/edit] Niek

Member Avatar for pokiri
0
96
Member Avatar for sachinkumar75
Member Avatar for thud

[QUOTE=thud;542070]All of the threads after me are receiving responses except mine. Is my question too technical?[/QUOTE] No. Sometimes it just takes a while for someone to come by. Most of us actually have lifes, so we're not on-line 24/7. Now for you problem: You need to split the string in …

Member Avatar for Nick Evan
0
233
Member Avatar for vs49688

I'm not sure if this is what you mean but: [code=cplusplus] #include <iostream> [....] std::string programc = "something"; std::string total = ""; total += runasc; total += programc ; system(total.c_str()); [...] [/code] [edit] Too slow [/edit]

Member Avatar for Nick Evan
0
106
Member Avatar for mark192

To convert one char to ASCII value: [code=vb] Dim ch As Char ch = "A" MessageBox.Show(Asc(ch)) [/code] or: [code=vb] Dim ch As Char Dim intg as Integer ch = "A" intg = Asc(ch) MessageBox.Show(intg) [/code] To convert a string to ASCII: [CODE=vb] Dim str As String Dim cnt As Integer …

Member Avatar for SolTec
0
131
Member Avatar for Mangonel

[QUOTE=Mangonel;538896] This startup freezing seems to happen most frequently when using the reset button after my comp has frozen.[/QUOTE] This sounds to me like something is overheating. When you reset right after the PC freezes, the PC is still 'hot'., so the change of crashing increases. Try running something that …

Member Avatar for Mangonel
0
180
Member Avatar for wollacott

You check for Prime right after this line: [icode]printf ("\n%d", fibo);[/icode] Did you start with the Isprime function? If so: show some code. Another question: is recursion a requirement for your assignment? Niek

Member Avatar for wollacott
0
209
Member Avatar for MMill2373

That's not that hard.. Do you know [URL="http://users.csc.calpoly.edu/~jdalbey/SWE/pdl_std.html"]pseudocode[/URL]?

Member Avatar for MMill2373
0
142
Member Avatar for carobee

[quote=carobee] if(isset($_SESSION['name'])) echo $_SESSION['name']; esle echo "session not set"; [/quote] you might want to change esle to 'else' :) What browser are you using? Is it set to accept cookies? You can check if the sesssioncookie is written by looking in your cookies folder. IE7 has a special option to …

Member Avatar for Nick Evan
0
138
Member Avatar for poonams

You could make two buttons on your form (one for previous and one for next) which increase and decrease a variable (let's call it 'count'.) Then in you SQL-syntax just use something like : [icode]SELECT * FROM foo LIMIT count,100[/icode] Then everytime one of the buttons is clicked, clear the …

Member Avatar for Nick Evan
0
80
Member Avatar for Phlip

You also might need to install .NET 2.0 Framework on your friend's computer depending on your projecttype. Niek [edit] here's a [URL="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=891113&SiteID=1"]link [/URL][/edit]

Member Avatar for Nick Evan
0
152
Member Avatar for kux

As far as I know, this isn't posssible. You could use a class with a memberfunction and then delcare an array of classes. Example: [code=cplusplus] #include <iostream> using namespace std; class foo { public: int func(int a) { return a; } }; int main(void) { const int SIZE = 5; …

Member Avatar for vijayan121
0
185
Member Avatar for rowdy12

[QUOTE=technogeek_42;539229]really can u solve the queen prob using C++? and y not create a sample auto run .inf and this C++?? or y don't u solve rpg game i the forum below.......[/QUOTE] [B]technogeek_42 : [/B]You may want to read the rules [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]again[/URL]. The part 'Keep it Clean' regarding 'Leet' speak …

Member Avatar for technogeek_42
0
114

The End.