Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~11.2K People Reached
Favorite Tags

35 Posted Topics

Member Avatar for SpS

[url=http://www.parashift.com/c++-faq-lite/exceptions.html#faq-17.2]How can I handle a constructor that fails?[/url]

Member Avatar for ishan_1
0
738
Member Avatar for Dee

There could be tons of reasons. Firstly, has this happened before? And when you say sleep mode, you mean the monitor refuses to turn on? Or the OS you're running enters sleep mode. I had some problems with my screen monitor awhile ago. How did I fix it? I got …

Member Avatar for alfa1234
0
2K
Member Avatar for sandeepalankar

Sounds like [url=http://www.daniweb.com/techtalkforums/announcement8-2.html]a request for us to do your homework[/url]. What have you done so far?

Member Avatar for WaltP
0
179
Member Avatar for theQube

Notepad isn't a compiler. But yes, compilers can compile code written in Notepad or JCreator. The point of using an Integrated Development Environment like JCreator is that it provides many useful tools, such as syntax highlighting, better tabs and a pleasant environment to work in. If you're a Java programmer, …

Member Avatar for zeroliken
0
274
Member Avatar for iamnoangel26

[url=http://www.google.co.uk/search?q=C%2B%2B+array+tutorial&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-GB:official]Google has plenty of tutorials on arrays[/url]. :)

Member Avatar for gazoo
0
214
Member Avatar for one1082

Replace [code]infile >> temp;[/code] with [code]temp = infile.get() ;[/code] That should do the trick. :)

Member Avatar for jephthah
0
129
Member Avatar for boohoo

This thread is a little old...but what the heck. I personally use JCreator for all my projects too. I agree that JBuilder is rather bulky, so I hardly ever use it. However, not all Swing applications or Java GUIs are as slow as that. I'm currently using an excellent [url=http://www.jedit.org/]Java …

Member Avatar for hemanthjava
0
290
Member Avatar for server_crash

It appears to work for me. The version of my Dev-C++ IDE is 4.9.9.2. One should note that the first parameter is always the name of your program. This is the program I used for testing. [code]#include <stdio.h> int main(int argc, char *argv[]) { if ( argc >= 3 ) …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Daishi

Hmm, perhaps you need another newline all by itself? Try [code]// Assuming that I'm connecting to google... const char *request = "GET / HTTP/1.1\nHost: www.google.com\n\n"[/code]

Member Avatar for Daishi
0
169
Member Avatar for stackOverflow

What is the name of your compiler? [url=http://www.talula.demon.co.uk/allegro/]Allegro[/url] is a game-programming library that supports DOS. If you give us more details about what kind of game you're making, it'll allows us to help you better.

Member Avatar for Drowzee
0
167
Member Avatar for levk

That's an interesting question. I've never done it myself before this, but this seems to work. [code]#include <windows.h> #include <stdio.h> template<class T> struct B ; template<class T> struct A { B<T> b ; T t ; }; template<class T> struct B { T t; }; int main() { A<int> a …

Member Avatar for Narue
0
135
Member Avatar for Arhianne

[url=http://www.daniweb.com/techtalkforums/announcement8-2.html]We only give homework help to those who show effort[/url].

Member Avatar for Dante Shamest
0
122
Member Avatar for rks01

Was it [url=http://www.bluej.org/]bluej[/url]? I don't think there's an IDE for C++ like that. But if you're looking for a "regular" IDE, you can try [url=http://www.bloodshed.net/dev/devcpp.html]Dev-C++[/url].

Member Avatar for Dante Shamest
0
79
Member Avatar for jhdobbins

I assume [url=http://www.cpp-home.com/forum/viewtopic.php?t=11203]the issue has been resolved[/url]?

Member Avatar for jhdobbins
0
124
Member Avatar for ginpero

I learned my C from these books. I'm not saying they're the greatest (in fact they usually get bad reviews), but I think they worked very well for me. - Teach Yourself C in 21 Days - Teach Yourself C in 24 Hours This online tutorial about pointers and arrays …

Member Avatar for Dante Shamest
0
158
Member Avatar for Jon182

[quote="Jon182"]I was just wondering with the variables such as day and month as they are pointers how come the new and delete keywords don't have to be used.[/quote] The [i]day[/i] and [i]month[/i] variables are declared to be arrays of length 10. You only need to use new and delete[] if …

Member Avatar for Dante Shamest
0
118
Member Avatar for ravinderreddy

The [url=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/setactivewindow.asp]SetActiveWindow[/url] function might also come in handy.

Member Avatar for Stoned_coder
0
183
Member Avatar for indianscorpion2

You have my vote. It's hard to recommend a generic solution to a problem when you don't know if the user is using C or C++.

Member Avatar for jhdobbins
0
311
Member Avatar for sleevetrick

I've posted something like this before [url=http://www.daniweb.com/techtalkforums/thread375.html]2 years ago[/url]. The downloads appear to be still there.

Member Avatar for sleevetrick
0
302
Member Avatar for Mike182

The operator ^ is the [url=http://en.wikipedia.org/wiki/Bitwise_operation]bitwise XOR operator[/url], not a cubic operator. There isn't a cubic operator. You can get the 3rd power of a number by using * like this: [code]int n = 2 * 2 * 2 ;[/code]

Member Avatar for Mike182
0
337
Member Avatar for Acidburn

I don't think version 6 is still available for download. [url=http://lab.msdn.microsoft.com/express/visualc/default.aspx]Visual C++ 2005 Express Edition[/url] is though. However I don't think it comes with MFC/ATL/WTL and the platform sdk is a separate download. If you're looking into building Win32 applications using the Windows API, you may also want to consider …

Member Avatar for Dante Shamest
0
105
Member Avatar for sleevetrick

You're using the infamous <conio.h>, which is specific to Borland compilers. To port it to VC++, you'll have to either of the following: 1) Find a Visual C++ port for conio.h. I don't know if one exists. 2) Use the [url=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/unicode_layer_console_functions.asp]Windows Console functions[/url], which I believe is used by conio …

Member Avatar for Dante Shamest
0
170
Member Avatar for Dani

Oh my God. I'm sorry to hear about your Dad. You must be real sad! :(

Member Avatar for alc6379
0
415
Member Avatar for drummerboy
Member Avatar for Yzk
1
195
Member Avatar for gick01
Member Avatar for Bob
0
275
Member Avatar for vyntage

Is it a problem with compilation? Or a gray box just appears in the browser? These days, most Java applets have problems being viewed by browsers, especially Internet Explorer. Microsoft has not updated IE to support many features of Swing. You need to have the Java Plug-In isntalled first.

Member Avatar for xlogan777
0
645
Member Avatar for Bob4life2000

If the java class files are in the same directory, you do not need to import them.

Member Avatar for Bob4life2000
1
155
Member Avatar for stehigs321

You're either using a C compiler or you're compiling under C mode in a C++ compiler. The problem is that you can't declare a variable in a for() under C. Replace [code] for (int i=1;i<=oneNumber;i++) { if (oneNumber%i==0) // one factor found { countPositiveFactors++; // add 1 to count of …

Member Avatar for Bob
0
91
Member Avatar for fakespike

You can either make gal a global variable, or pass rewrite gas() so that it receives a pointer to a integer. Then pass gal to gas().

Member Avatar for yogesh
0
157
Member Avatar for Armeggadon

1) Dev-C++ is sufficient if you want to learn C++ programming. Dev-C++ is actually a GUI wrapper for the MingW compiler. In other words, you're actually usng the [url=http://www.mingw.org/]MingW[/url] compiler. And the MingW compiler is the Windows port of the [url=http://www.gnu.org/software/gcc/gcc.html]GNU GCC compiler[/url], and it is very ISO/C++ compliant. 2) …

Member Avatar for Armeggadon
1
206
Member Avatar for Iron_Cross

Most of the time you don't need to use the bitwise operations. The only time I've had to operate with bits is combining the modes in the ifstream/ofstream constructors: [code] ifstream in&#40; "myfile.txt", ios&#58;&#58;in | ios&#58;&#58;binary &#41; ;[/code] Also when I dealt with bitmaps and transparency, I had to use …

Member Avatar for Iron_Cross
0
139
Member Avatar for vintage
Member Avatar for vintage
0
388
Member Avatar for BMF

I found this problem of yours harder than expected. Firstly, I'm better at C++ libraries than the C libraries. So I had to revise all my C File I/O. Secondly, I hate parsing. Anyway here's my solution to your problem. My technique isn't perfect. It removes all C-style comments. (/* …

Member Avatar for BMF
0
472
Member Avatar for eaw80

[quote]how do i write, or create(via a wysiwyg program) an interactive executable program that has two 3d models stored on it, which will allow a user to do the following: [/quote] I don't know of any such WYSIWYG programs that creates executables of interactive 3D models. I think the closest …

Member Avatar for Dante Shamest
0
109
Member Avatar for lyar1977

I've coded a simple program that lets the user control the position of a ball via the arrow keys. [img]http://www.abdn.ac.uk/~u02cll2/windowsapi/movingball.jpg[/img] The program can be downloaded [url=http://www.abdn.ac.uk/~u02cll2/windowsapi/MovingBall.exe]here[/url]. The source code can be viewed in HTML format [url=http://www.abdn.ac.uk/~u02cll2/windowsapi/ball.cpp.htm]here[/url].

Member Avatar for Dante Shamest
0
492

The End.