|
There should be an option to add source files under the Project menu.
|
|
|
|
|
BonshatS wrote: Turbo C help docs which I do remember as being excellent
Ah yes those were the days. I wonder how many of us learnt C and C++ in Turbo C++ for DOS? Kevin
|
|
|
|
|
Kevin McFarlane wrote: Ah yes those were the days. I wonder how many of us learnt C and C++ in Turbo C++ for DOS?
Yep, and a shelf full of books with every version.
|
|
|
|
|
I learned C before there was a Turbo anything but Turbo C++ was my first C++ compiler. You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
Kevin McFarlane wrote: I wonder how many of us learnt C and C++ in Turbo C++ for DOS?
I resent resemble that remark."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Turbo C for DOS help files were excellent. The reincarnated Turbo C++ is not only complete crap, the help is junk as well. It's a shame since I'd like to see some legitimate competition for Visual Studio.
|
|
|
|
|
My problum is still at the point where it started. All of you are just discussing the history.....lol.
|
|
|
|
|
That was my way of saying that I have no idea. I tried the new Turbo/Borland C++ product a few months ago and was very disappointed.
|
|
|
|
|
I don't understand where or why you're unable to add files to your project. Are you getting errors? Is the IDE not finding the files? Are you not finding the option to add them? At what point are things failing?
|
|
|
|
|
I have one doubt please give me the answer.
I read some where in C++, if we want to access base class constructor using derived class constructor like bellow is possible:
class base
{
base()
};
class derived:public base
{
derived():base()
{
}
};
normally i used like bellow
class base
{
base()
{
}
};
class derived:public base
{
derived()
{
}
};
My question is what is the difference between both approaches. In which cases I have to use first one and in which cases i have to use second one.To invent something, you need a mountain of junk in your mind.
---------------------Thomas alva edison
|
|
|
|
|
I have a doubt about people who post the same question 3 minutes after they have asked it the first tiome !!!
STOP IT
BE PATIENT
'g'
|
|
|
|
|
sorry,
And thanks for valuable reply.
My internet connection is having problem. First time it given a message "not update your message". That's why i updated again.
Any way sorry for inconvenience. I deleted first one.To invent something, you need a mountain of junk in your mind.
---------------------Thomas alva edison
|
|
|
|
|
In this case there is no differnce.
But consider this case.
class base
{
base(int i)
{
}
};
class derived : public base
{
derived(int j) : base(j)
{
}
}; In the above case you have to explicitly call the base class constructor like this.
|
|
|
|
|
For the example you give -- they are the same.
The compiler is able to figure it out -- as "base" has a default constructor... "base()"
The easiest way to see what's up here is to write both examples and run it through the debugger.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>
|
|
|
|
|
|
Hello everyone,
I have to do programming to make a small, straightforward game operating over a LAN
network. I think I should use Visual C++ and MFC libraries from Microsoft, because it's easy to
learn and use. Dealing with some network programming concepts such as TCP, UDP and some
Socket API is also essential.
I have no background in gaming and network programming. So, I face some difficulties.
Can you please give me some simple sample games source codes such as hangman, bingo,
puzzle etc., with or without networking, for me to get familiar with.
I appreciate projects built with MS Visual C++ 2005/2008. But any advices are invaluable!
Thank you for any help.
Tanya - tanya9x@gmail.com
|
|
|
|
|
thats not the way things are done around here in general - you're expected to do some research and post particular questions about code - not ask for a solution to be handed to you on a plate
tanya9x wrote: So, I face some difficulties
you sure do - if this is homework/an assignment, you'd better hit the books, start the research quickly - make google your friend
'g'
|
|
|
|
|
Hi all,
i m using SmsSendMessage api to send sms from pocket pc mobile.
its working fine.
now i want to send sms by PC,here connect a mobile phone by datacable.
please tell me which apis and functions are used here.
thanks inadvance.To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
isnt this similar to the message you posted below ?
how about you fix one issue first
'g'
|
|
|
|
|
SmsSend is not working for me.. can you please help?? This code was posted by me...
|
|
|
|
|
HI all
i want to create an application that is able to send SMS from mobile phone.
here mobile phone should connect by a data cable to the computer.
i find mobile phone by detecting serial com port method.
i also taking help of this article
[]http://www.naughter.com/mfcsms.html[^]
but its not working fine.
please help me for this.
and provide me better suggestion and ideas for this.
thanks in advance.To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
Le@rner wrote: but its not working fine.
how about you describe why its not working - what symtoms are exhibited, error messages are displayed etc - we dont read minds !!
oh, and tell us what steps you've taken to debug it - single step to point-x etc
'g'
|
|
|
|
|
1.its unable to find out more port.
2.find port i use UsingSetupAPI2 istead of UsingSetupAPI1,after this its find out my mobile.after enetring deails it not send message.
generate error message "Failed to receive a reponse from the modem".To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
Le@rner wrote: generate error message "Failed to receive a reponse from the modem".
well, it seems that your way of detecting which com port the phone/modem is connected to is wrong, doesnt it... so you need to find a better/more reliable way.
I would write a test program/stub that enumerates the com ports, inc virtual ones, sends a known 'AT' command to the modem, and waits for a response - anything that doesnt respond [isnt connected], anything that does is a candidate. Now, if you have more than 1 com port that responds, is there an AT command for example you can issues that says 'identify the modem type' - that might tell you where your modem/phone is ...
'g'
|
|
|
|
|
can u please explain me more about this. To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|