377 Posted Topics
Re: You'll find loads of material here [url]http://www.opengl.org/[/url] | |
Re: See this [code] #include <iostream> using namespace std; void CreatePattern(int); int main () { int limit; //Read limit cout << "\nEnter an even number:"; cin >> limit; CreatePattern(limit); return 0; } void CreatePattern(int limit) { for (int row = 1; row <= limit; row++) { for (int col = 1; … | |
Re: 1. Define your class outside main. 2. [I](From MSDN) [/I] [U][B]Compiler Error C2447[/B][/U] [B]missing function header (old-style formal list?)[/B] An open curly brace ({) was found at global scope without a corresponding function header. This error can be caused by using the old-style C-language formal list. Check that the function … | |
| |
Re: See the code snippet section of this site. It has some really nice codes which can get you started. I suppose someone has also given a code convertor for dec to bin. Take a look. | |
Re: Here's one very good site [url]http://www.gamedev.net/[/url] | |
Re: and [inlinecode]}[/inlinecode] instead of [inlinecode])[/inlinecode] in the end. [QUOTE=grunge man]hey i have another question what does endl mean [/quote] [b]endl[/b] Inserts a new-line character in the stream and if the stream is a buffered stream then flushes it. | |
Re: [QUOTE=grunge man]A Nother Question What Are Classes[/QUOTE] A class is defined by using the keyword class followed by a programmer-specified name followed by the class definition in braces. The class definition contains the class members, its data, and the class methods, its functions. [QUOTE=grunge man]Is It Possible To Use A … | |
Hi Dani Just wanted to bring that to your notice that lately I am not able to receive any instant notifications for replies. Plz look into it. Is anyone else also facing such problem or I am the only one :cry: | |
Re: [QUOTE=vamsi.rgiit]can anyone explain me basic operations on binary tree[/QUOTE] Very nicely explained here [url]http://en.wikipedia.org/wiki/Binary_tree[/url] | |
Re: [QUOTE=prasath] is it possible to declare constructors as private? if yes, will some one explain me how to do it or please provide some links regarding that. [/QUOTE] Here's one link [url]http://gethelp.devx.com/techtips/cpp_pro/10min/10min0200.asp[/url] | |
Re: If it's an html file then just open it through your C code and append [b]<font size="+somevalue">[/b] after beginning body tag and </font > before closing body tag. | |
Re: This might give you a start [url]http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1048377569&id=1044780608[/url] | |
Re: [QUOTE=WolfPack]Out of curiosity, what made you name this thread after one of the members here :?:[/QUOTE] For a moment forget there is any member of such name and then think about the topic name and content. It will somewhat fall in place. But at first I was also confused. ![]() | |
Re: [QUOTE=Narue]c, this code causes an error.[/QUOTE] Why is that? | |
Re: [QUOTE=comwizz]Why cant we overload assignment operator using a friend function?[/QUOTE] [inlinecode]operator=[/inlinecode] can only be a member function. It is intimately connected to the object on the left side of the [inlinecode]=[/inlinecode]. If it was possible to define [inlinecode]operator=[/inlinecode] globally, then you might attempt to redefine the [b]built-in =[/b] sign [code] … | |
Re: I have joined this forum in late Aug,05....and enjoying every bit of it....its my my first forum....and i agree with nanosani(first post) | |
Re: That's Amazing....but there was already a thread relating to optical illusions.... [url]http://www.daniweb.com/techtalkforums/thread16129.html[/url] | |
Re: What is the problem you are facing...I am getting the desired output. | |
Re: [QUOTE=chaitanya.b]OK sir, but can you give me for both malloc and free library functions definition i,e I want to allocate memory dynamically with out using malloc and deallocate memory with out using free library functions, I am waiting for your reply, [/QUOTE] Read chapter 8 of K&R, The C programming … | |
Re: [QUOTE=comwizz]How are functions returning reference used?? Do they return values on the left side or the right side of the assignment. I would be glad if I could get some help. Thanks, comwizz.[/QUOTE] Try looking at this and post further queries [url]http://www.parashift.com/c++-faq-lite/references.html#faq-8.2[/url] | |
Re: [url]http://www.daniweb.com/techtalkforums/announcement8-2.html[/url] | |
Re: chnage your code to [code] #include <iostream> using namespace std; int main() { //print out the text string, "Hello, World!" cout << "Hello, World!" << endl; return 0; } [/code] | |
Re: Read This [url]http://www.cprogramming.com/tutorial/lesson8.html[/url] | |
Re: We can change the calling conventions by prefixing decleration with [b]__cdecl,__stdcall[/b]-for right to left [b]pascal[/b]-for left to right | |
Re: It tells that function is variable argument function. | |
Re: OOOOOOh....you'll be listening very soon from someone | |
![]() | Re: Such post was not at all expected from you....At first look I said what a ******* post. You almost made me blind. I swear I would have given you a bad rep for this...but you are lucky as I recently gave a positive rep and can't add more. |
Re: [QUOTE=perlsu]fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1794) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Error executing cl.exe. Creating browse info file... BSCMAKE: error BK1506 : cannot open file '.\Release\nfc_Application.sbr': No such … | |
Re: [QUOTE=thinhbk1802]So there is a float number problem. [/QUOTE]What do you mean by this.?? | |
Re: Add this in the beginning instead of your deprected headers [code] #include <iostream> #include <string> using namespace std;[/code] | |
Re: [b]java.lang.math[/b] The class Math contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions. [url]http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html[/url] | |
Re: what complier are you using In VC6.0 you get profiling option in built | |
Re: A [b]Pointer[/b] contains an address that points to data. A [b]string[/b] is any finite sequence of characters (i.e., letters, numerals, symbols and punctuation marks). | |
Re: Free Online tests can be found here [url]http://www.internettests.com/[/url] | |
Re: Like This [code] #include <iostream> #include <string> using namespace std; int main () { string str="HelloWorld"; string first=str.substr(0,5); string second=str.substr(5,5); cout<<str;//Original String str=second+first; cout<<endl<<str;//Swapped String return 0; }[/code] | |
Re: Pass the parameters to [inlinecode]float do_next_op[/inlinecode] by reference. Also you need to add [inlinecode]<cmath>[/inlinecode] in your code [code] #include <iostream> [color=red]#include<cmath>[/color] using namespace std; void instruction (); [color=red]float do_next_op ( float&, float& , char );[/color] int main() { instruction(); // displays instruction float total; float newentry; char op; total = … | |
Re: [QUOTE=the_coolcat_11]help me to answer the product of first 10 even numbers in c++ program[/QUOTE] Two posters posting the same code :eek: . now what is happening. | |
Re: Use smaller size arrays | |
Re: [QUOTE=comwizz]I would like an example for using copy constructor with new operator. comwizz.[/QUOTE] [url]http://cplus.about.com/od/beginnerctutorial/l/aa072802a.htm[/url] | |
![]() | Re: Constructors can initialise through assignment operator or initialisation lists. Benefit of using initialisation lists is the improved performance. Your code will run faster if you use initialization lists rather than assignment. [url]http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.6[/url] |
The End.