Forum: C++ Apr 17th, 2005 |
| Replies: 4 Views: 11,809 Differences Between Java and C/C++
The Preprocessor
Pointers
Structures and Unions
Functions
Multiple Inheritance
Strings
The goto Statement
Operator Overloading |
Forum: C++ Apr 7th, 2005 |
| Replies: 47 Views: 65,684 This is a short list of recommendations on how to use C++. My experiences are from using gcc 2.8.0 and Visual C++ 6.0. I had to have things compatible between these two compilers, and between Unix... |
Forum: C++ Apr 5th, 2005 |
| Replies: 0 Views: 2,689 This is a short list of recommendations on how to use C++. My experiences are from using gcc 2.8.0 and Visual C++ 6.0. I had to have things compatible between these two compilers, and between Unix... |
Forum: C++ Apr 5th, 2005 |
| Replies: 47 Views: 65,684 Introduction
These tips are based mainly on ideas from the book Efficient C++ by Dov Bulka and David Mayhew. For a more thorough treatment of performance programming with C++, I highly recommend... |
Forum: C++ Nov 20th, 2004 |
| Replies: 8 Views: 28,620 How do you make a class accessible from a dynamic link library? It is a commonly asked question with a solution that is surprisingly simple. In this article I will show you how to do it in Visual... |
Forum: C++ Nov 20th, 2004 |
| Replies: 0 Views: 3,608 Having bugs in your code may be unavoidable, but crashing *is* avoidable. Barring cosmic rays playing yahtzee with your memory there is no reason why your program should ever crash. Crashing is... |
Forum: C++ Nov 19th, 2004 |
| Replies: 3 Views: 4,269 this the game i made since i started learnin' C++.. try to understand how to use Up and Down Arrows in directionS .
----------------------------------------------------------------------------------... |
Forum: C++ Sep 20th, 2004 |
| Replies: 3 Views: 8,377 The problem is to find all ways of placing n non-taking queens on a n by n board. A queen attacks all cells in its same row, column, and either diagonal. Therefore, the objective is to place n queens... |
Forum: C++ Sep 20th, 2004 |
| Replies: 0 Views: 178 The problem is to find all ways of placing n non-taking queens on a n by n board. A queen attacks all cells in its same row, column, and either diagonal. Therefore, the objective is to place n queens... |
Forum: C++ Sep 20th, 2004 |
| Replies: 1 Views: 104 hi all .. this is intorduction to an anonymous classes,
An anonymous class is one that doesn't have a name. In the following example, both structures inside the TRectangle union are anonymous... |
Forum: C++ Sep 20th, 2004 |
| Replies: 1 Views: 3,368 hi all .. this is intorduction to an anonymous classes,
An anonymous class is one that doesn't have a name. In the following example, both structures inside the TRectangle union are anonymous... |
Forum: C++ Aug 25th, 2004 |
| Replies: 7 Views: 5,703 |
Forum: C++ Aug 2nd, 2004 |
| Replies: 6 Views: 3,257 look at this program ... and try to develop it to satisfy ur needs |
Forum: C++ Aug 2nd, 2004 |
| Replies: 6 Views: 3,257 k .. continue what u r doing ?? what is the other ****tion that u want .. and write it .. i dont see any something hard in this code ..
if u have say where r u stuck ?? |
Forum: C++ Aug 1st, 2004 |
| Replies: 2 Views: 4,518 yeah .. this my assignment in the past .. try it .. it work fine .. ;)
#include <iostream.h>
#include <stdlib.h>
main()
{
//
int array[10]={1,2,3,4,5,6,7,8,9,10};
int... |
Forum: C++ Jul 27th, 2004 |
| Replies: 97 Views: 25,473 yeah ..lol ..conversation got heavy ;) |
Forum: C++ Jul 27th, 2004 |
| Replies: 1 Views: 2,346 See "C++ exception handling "in C++ tutorial |
Forum: C++ Jul 27th, 2004 |
| Replies: 2 Views: 3,062 see " Advanced string technique " it C++ tutorial .. btw ..
The C++ standard library provides a class called string. Its been used in several programs so far. To use it you need
#include... |
Forum: C++ Jul 25th, 2004 |
| Replies: 12 Views: 4,488 #include <iostream>
using namespace std;
int double Square (double Value);
int main ()
{
double Number, SquaredNumber;
Number = 5;
SquaredNumber = Square (Number); |
Forum: C++ Jul 25th, 2004 |
| Replies: 3 Views: 7,889 yeah .. nice site .:D but i hope if it is for C++ |
Forum: C++ Jul 23rd, 2004 |
| Replies: 3 Views: 18,088 Everyone is familar is the Common Dialog - File Open/Save control in Windows, you use it everyday. This script shows you how to script the Common Dialog control and put it to work for you. ... |
Forum: C++ Jul 23rd, 2004 |
| Replies: 2 Views: 4,904 look at this example ...
#include <fstream> • <fstream> header file
using namespace std; – Use ifstream for input
int main() – Use ofstream for output... |
Forum: C++ Jul 23rd, 2004 |
| Replies: 3 Views: 18,088 Introduction
---------------
The Visual Component Library (VCL) provides various built-in classes to perform file processing. Most of the features are provided through the TFileStream class. To... |
Forum: C++ Jul 22nd, 2004 |
| Replies: 2 Views: 32,598 Using and Returning SafeArrays
Nothing seems to cause more confusion than the concept of SafeArrays. First, documentation is very sparse. Second, SafeArrays can contain pointers to objects on the... |
Forum: C++ Jul 20th, 2004 |
| Replies: 6 Views: 25,357 i can help u with the first .. cuz really i'm not expert with pascal but i know little about it . :) .. see this code this what i learned in pascal :D
... |
Forum: C++ Jul 20th, 2004 |
| Replies: 5 Views: 8,795 The following code is an example of how to implement a Doubly Linked List. Let me know what you think of the code and if it has helped you in any way.
// "DoublyLinkedList.cpp"
#include<iostream>... |
Forum: C++ Jul 20th, 2004 |
| Replies: 6 Views: 25,357 see this example dude ;)
int main()
{
int num;
do{
cout << "Enter a number between 1 and 10";
cin>>num;
}while( num < 1 || num > 10 ); /* ask some more if we dont get something between 1 and... |
Forum: C++ Jul 19th, 2004 |
| Replies: 8 Views: 5,745 |
Forum: C++ Jul 17th, 2004 |
| Replies: 1 Views: 3,627 this is my assignment in the past ..:)
#include <stdio.h>
#include <iostream.h>
#include <math.h>
#include <fstream.h>
/*
Different methods for solving ODEs are presented |
Forum: C++ Jul 17th, 2004 |
| Replies: 8 Views: 5,745 http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/sag_DNS_ovr_Tools.asp... |
Forum: C++ Jul 17th, 2004 |
| Replies: 1 Views: 7,339 Check this link .. .:)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_ccombobox_class_members.asp |
Forum: C++ Jul 17th, 2004 |
| Replies: 4 Views: 8,791 oh... i am sorry ;) really i was soo tired this day .. :D np |
Forum: C++ Jul 14th, 2004 |
| Replies: 1 Views: 41,342 Creating a C++/Assembly Project
The project we'll develop in this tutorial will consist of a main() function written in C++. It will call an assembly function named clear(). Since Visual C++ does... |
Forum: C++ Jul 14th, 2004 |
| Replies: 7 Views: 17,661 C++ : One-Hour Overview
(1) User-Defined ADT (Abstract Data Types)
e.g.: "enum" creates a user-defined type.
enum Months { JAN = 1, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC };... |
Forum: C++ Jul 14th, 2004 |
| Replies: 4 Views: 8,791 Hii.. all . .
how r u ? .. i think that u must study FO ( File Oranization ) ..
*Image presentation
*.* Visual Perception
When processing images for a human observer, it is important to... |
Forum: C++ Jul 13th, 2004 |
| Replies: 7 Views: 66,618 Overview
Serial communications in Microsoft® Win32® is significantly different from serial communications in 16-bit Microsoft Windows®. Those familiar with 16-bit serial communications functions... |
Forum: C++ Jul 5th, 2004 |
| Replies: 2 Views: 13,927 i think that you can use
enum
it is as
structure
but enum list the elements by index as array .. for example
[code]
enum days_of_the_week ={sat,sun,mon,tue,wed,thu,fri };
there for... |
Forum: C++ Jul 5th, 2004 |
| Replies: 5 Views: 3,070 take a look at ..
http://www.daniweb.com/techtalkforums/showthread.php?p=37974#post37974 |
Forum: C++ Jul 5th, 2004 |
| Replies: 1 Views: 11,175 I found this functions are maybe important for some people there for i wrote this code .
--------------------------------------------------------------------------
This Max() function is used to... |
Forum: C++ Jul 5th, 2004 |
| Replies: 5 Views: 3,070 this function get the minimum value for numbers that the user will input
#include<iostream.h>
using namespace std;
int min(const in *Numbers, const int Count)
{
int Minimum =... |