377 Posted Topics

Member Avatar for hongfan

beuls use [inlinecode][[/inlinecode][inlinecode]][/inlinecode] instead of [inlinecode]<[/inlinecode][inlinecode]>[/inlinecode] for code tags

Member Avatar for beuls
0
220
Member Avatar for mybrainhurts

Recently there has been another thread relating to your problem [url]http://www.daniweb.com/techtalkforums/thread38281.html[/url]

Member Avatar for Narue
0
156
Member Avatar for rculley1970

[QUOTE=fluidDelusions]...and you capitalized every noun in your sentences as well as misspelled "bite."[/QUOTE] :lol:

Member Avatar for iamthwee
0
108
Member Avatar for zenoen

try concentrating on [inlinecode]{[/inlinecode] [inlinecode]}[/inlinecode] brackets and matching [inlinecode]if-else[/inlinecode] statements

Member Avatar for zenoen
0
171
Member Avatar for lakshmisoni

[QUOTE=lakshmisoni]I have a problem in conveting binary to decimal and decimal to binary conversions and i have the due date today[/QUOTE] hi lakshmi, Welcome to daniweb. Plz read the rules before posting. You won't be getting much help like this without showing efforts. Atmost I can say go and try …

Member Avatar for Dani
0
121
Member Avatar for NosKills

[URL=http://www.devx.com/tips/Tip/14544]Alternatives to ios::nocreate and ios::noreplace[/URL]

Member Avatar for NosKills
0
332
Member Avatar for vegaseat
Member Avatar for Narue
0
212
Member Avatar for wigster84

Replace your headers with these [code] #include <sstream> #include <string> #include<iostream> [/code]

Member Avatar for wigster84
0
132
Member Avatar for wigster84

Visit [url]http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1046996179&id=1043284385[/url]

Member Avatar for wigster84
0
252
Member Avatar for kisvirag21

[URL=http://www.daniweb.com/tutorials/tutorial1769.html]Random Number Tutorial[/URL]

Member Avatar for iamthwee
0
152
Member Avatar for moznmar

1.Prototype of functions inputbooks and displaybooks differs from their call. 2.Call with the object instead of class name

Member Avatar for moznmar
0
264
Member Avatar for red

Just got these two links from tutorials section. [url]http://www.daniweb.com/tutorials/tutorial7595.html[/url] [url]http://www.daniweb.com/tutorials/tutorial14329.html[/url]

Member Avatar for Ancient Dragon
0
167
Member Avatar for ReDuX

Here's Mine..... Once 4 friends were traveling through a car. All of them were engineers. One was an electrical engineer, other one was a chemical engineer, third was a mechanical engineer while the 4th was a software engineer from famous company called "Microsoft" (Bill gates wali). Suddenly the car stopped …

Member Avatar for SpS
0
433
Member Avatar for osean

[QUOTE=iamthwee]Or you could just learn how to use [I]string[/I] from the STL :rolleyes:[/QUOTE] string class is not a part of STL...It is part of ANSI standard C++

Member Avatar for iamthwee
0
144
Member Avatar for beuls

[QUOTE=beuls]It works fine in VC++ but gives an error as "Undefined structure class name". [/QUOTE] How can it work and give you an error at the same time? See the changed code...and before asking why I changed some lines...do a search of this forum or google... [code]#include <iostream> using namespace …

Member Avatar for SpS
0
1K
Member Avatar for DotNetUser

[QUOTE=DotNetUser]Anybody know how to create a pop up menu in VC++.NET? [/QUOTE] See This [url]http://www.functionx.com/vcnet/controls/contextmenu.htm[/url]

Member Avatar for DotNetUser
0
450
Member Avatar for masa

[QUOTE=masa]hi if you use [code] rewind( FILE *in); [/code][/QUOTE] We don't use this...we use [code]rewind(in);[/code] [QUOTE=masa] what you can use for [code] I/O stream library ifstream in(ff.txt); [/code][/QUOTE] Are you sure about what you are asking...if yes, please make it more clear

Member Avatar for masa
0
130
Member Avatar for plus

There is a function called [inlinecode]itoa()[/inlinecode] which converts integer to string

Member Avatar for winbatch
0
57
Member Avatar for mariposa104

Instead of area and perimeter...it should be length and breadth....why are u using java code in c++...

Member Avatar for iamlearning
0
254
Member Avatar for rajuwani121

[QUOTE=rajuwani121]I just need the code for connecting the sql server 2000 using borland c[/QUOTE] No one will write code for you... Here is library for accessing SQL...[URL=http://www.sqlapi.com/]Link[/URL] it contains lot of examples...modify it according to your needs

Member Avatar for SpS
0
299
Member Avatar for Acidburn
Member Avatar for sunlight

How Can You Expect That From Forums...I am Sure That Library(Whatever You Are Attaching) Is Not Yours. [QUOTE]Anyways Read The [url=http://www.daniweb.com/techtalkforums/announcement8-2.html]Rules[/url] [/QUOTE]

Member Avatar for dwks
0
122
Member Avatar for Benfried

[QUOTE=winbatch]It all depends upon how the functions are defined. Look up 'passing by value' vs. 'passing by reference'. [/QUOTE] I guess person is talking in context of 'C'...and in 'C' there is no pass by reference...there's only pass by value

Member Avatar for SpS
0
143
Member Avatar for SpS

I am quite familiar with C++ language...wanted to expand my knowledge...so just wanted to ask you gurus...what would be better to learn next...Managed C++ or C#...or something else more demanding in the market.

Member Avatar for iamthwee
0
75
Member Avatar for TimC

See The Changes...cin terminates with the first white character...don't mix C-headers with C++ one's....and why were you including iostream twice? [code] #include <iostream> #include <cstdlib> #include <string> using namespace std; class doctor { protected: string newname; public: doctor(); //constructor virtual ~doctor(); virtual void set_Name(string itsname); virtual string get_Name(); }; //end …

Member Avatar for SpS
0
161
Member Avatar for tyczj
Member Avatar for tyczj
0
145
Member Avatar for emailsrs
Member Avatar for sahil_logic

According to new ISO standard, variables declared inside for loop are not accessible after its scope end...for example [code] for(int i=0;i<5;i++) { cout<<i; }// memory for i releases and won't be accessible after this...you need to declare i again to use it.[/code]

Member Avatar for sahil_logic
0
343
Member Avatar for kahaj

Either make try block inside main...or call a function from main which contains you try block...what are low, high...u haven't declared them anywhere...where are u asking for values of num1, num2...try reading the book again

Member Avatar for SpS
0
96
Member Avatar for TimC
Member Avatar for sahil_logic

See The Changes [code] #include<iostream.h> #include<conio.h> int main() { int m,n,r; cout<<"enter the order "; cin>>m>>n>>r; int mat1[10][10] ,mat2[10][10],mat3[20][20]; cout<<"enter the elements of first array " <<endl; for(int i=0;i<m;i++) { for(int j=0;j<n;j++) { cin>>mat1[i][j]; } } cout<<"enter the elements of the sec matrix "; for(i=0;i<n;i++) { for(int j=0;j<r;j++) { cin>>mat2[i][j]; …

Member Avatar for SpS
0
127
Member Avatar for desertstorm
Member Avatar for Ancient Dragon
0
310
Member Avatar for nabil1983

[QUOTE=nabil1983]My fault sorry,, i meant to ask what kind of SEARCH method is this... ?[/QUOTE] Linear Search

Member Avatar for SpS
0
175
Member Avatar for kahaj

You can't do this in catch [code] catch ( num1<0 & num2<0 & num3<0 & num4<0 )[/code]

Member Avatar for winbatch
0
98
Member Avatar for kahaj
Member Avatar for Naveena

Try doing this in both C and C++...It will compile in C but not in C++ [code][color=red] int main() { const int x; return 0; }[/color][/code]

Member Avatar for SpS
0
123
Member Avatar for akshayabc

Answers 1.In C character constants are stored as ints 2.Make use of escape sequences 3.Read Only Memory 4.It may not give give compilation errors but it will most propbably crash(Undefined Behaviour) 5.You should never use gets.Instead Use fgets. See [url=http://www.gidnetwork.com/b-56.html]This[/url] 6.C++ is very strict with regard to type compatibility as …

Member Avatar for Ancient Dragon
0
324
Member Avatar for Savage221

compare the current coordinates of text or picture with screen coordinate...and if it's larger than that...then take suitable action to correct it

Member Avatar for Geek-Master
0
209
Member Avatar for ilikerps
Member Avatar for sahil_logic

See [URL=http://www.cs.sunysb.edu/~skiena/214/lectures/lect20/lect20.html]Address Calculation[/URL]

Member Avatar for Ancient Dragon
0
170
Member Avatar for coolgal
Member Avatar for SpS

We can call static member function through both class name and objects...but we generally use class name to call static member function instead of objects.... Is there any performance benefit in it by using class name or is it just to remove confusion by not calling through object

Member Avatar for SpS
0
119
Member Avatar for prasath

Loads of material here [URL=http://www.programmersheaven.com/zone3/cat856/index.htm]Go[/URL]

Member Avatar for perniciosus
0
146
Member Avatar for ban26ana

[QUOTE=ban26ana] I figured out how to initialize the elements to zero by using int t[2][3] = { {0}, {0}, {0} }, but I have no idea how to do it using a for structure. Could someone point me in the right direction of how to start? [/quote] See this [code] …

Member Avatar for SpS
0
115
Member Avatar for ilikerps

if its a character array then initialize it with '\0' and if its an integer array then initilize it with 0

Member Avatar for SpS
0
503
Member Avatar for iqbal
Member Avatar for Loopah
Member Avatar for SpS

Whenever we get reputation...some of the those reputations have green box with it and some have grey box with it...does those green and and grey box signifies good and bad post respectively or something else....and what is the criteria of reputation points

Member Avatar for server_crash
0
394
Member Avatar for kdw3

It sounds like homework....post what you have done till now and ask specific question regarding that code

Member Avatar for Dave Sinkula
0
187
Member Avatar for iqbal

1.Use code tags 2.It should be conio.h(you should avoid using non-standard headers) 3.Use <iostream> instead of <iostream.h> 4.Lot of typing mistakes and lot of other issues....

Member Avatar for tyczj
0
158

The End.