I will try this way..Thanks very much...
Type: Posts; User: zaracattle
I will try this way..Thanks very much...
Ahh..when anybody declare this type, if they input a real part and img part of number and their values are out of these ranges, it will automatically change to type in these ranges...
Thanks for...
Yes, right...type of Range is Integer....
sorry guys...But I mean to design a type of data that is in these ranges and doesn't have any inputting or outputting...So I can define a variable and this variable will be in these ranges...Ex: when...
Thanks for helping guys..This is my problem...
I have to declare a complex number that its real is in [-1000,1000], its img is in [-10000,10000]....After that I have to design a storable block to...
I want to define a special range of type in C++ or C...Ex: range of variable from -1000 to 1000 in integer...So what I have to do ? please help me..thanks very much...
I'm learning about AVL tree, and I have a question.....
When you want to convert from AVL to Binary Search Tree, it is whether you can have more than 2 nodes that are not valid...Ex:
I have a list...
So,What I have to do...Anyone have ideas??
I have a class Tree, I want to input all of tree's items by 1 function...I typed code for them..but I have a problems...I couldn't create all Node of Tree because everytime I create new Node,old Node...
sorry..I look up on google,but I don't have any informations about this program by C++/C..Please help me...
oh,sorry...I mean I want to convert from solar to lunar in chinese calendar..Anyone can help me??thanks very much...
Please tell me some ideas to convert from solar calendar to lunar calendar...If you can, please share me codes to do that...Thanks very much....
Ex: I declare a function in class List:
void Copy(List<List<Entry>> &des,List<Entry> source);
In using function:
List<int> list1;
I'm using Visual Studio C++ Express Edition.In MSDN document,these codes are in part of C++,not in C#...
I want to input and output file.I used some declarations are
using namespace System;
using namespace System.IO;
but compiler don't understand about them.Please show me way to using them
I want...
Yes.....It still doesn't create a file....I don't know why....
sorry,I use declaration:
fstream XuatNhapFile(path1,ios::in|ios:out);
and path1 must be char *
and can you type more clearly about using strcpy to copy them?
I'm using Visual C++ Express Edition..
I remain have this error...this is my full code:
"ClassType.h"
#ifndef CLASSTYPE_H
#define CLASSTYPE_H
#include "TypeData.h"
I use following syntax to create a file but file can't be created
path1 = "D:\\Example\InputFile.txt";
fstream InOutFile(path1,ios::in|ios::out);
if (!InOutFile){
cerr<<"File can't be...
sorry, How to post pictures directly to the board??
Anyone can help me??
these are the pictures:
from my folder :
http://i9.tinypic.com/2ugnuw6.jpg
from my compiler:
http://i9.tinypic.com/2vlseg2.jpg
Please help me...
thanks very much for your answer.. Mario F
or opostition.....only functions that are declared in "class" or any functions?
I don't understand why ??Anybody can tell me deeply about structures of them...thanks very much....
Thanks for your helping ..But I encountered some above errors that I din't understand why compiler informed these errors...Please help me...
This is my full code:
"String.h"
#ifndef STRING_H
#define STRING_H
#include "List.h"
class String{