Friday, July 31, 2009

Which is good c,c++ compiler with IDE?

I have been using turbo c++ for dos , i want to shift to windows applications which is the best c,c++ IDE i want something other than visual c++ express microsoft , cygnu , dev-4.9

Which is good c,c++ compiler with IDE?
I started using the Watcom compiler which is now free from:





http://www.openwatcom.org/index.php/Down...





Most of my C/C++ source codes for Windows are on my website (free):





http://freespace.virgin.net/roy.longbott...
Reply:You can also use vi in windows, and customize it to compile your source.





You can try borland C++ IDE


Eclipse IDE with C++ plugin


netbeans with C++ plugin
Reply:check Qt-designer from troll tech


Help me !! i am a confused student !! C,C++, C#, Visual Basic , java ? Which one ?

Hi , I am in deep trouble.





i started learning programming from c++ and then moved on the java and then on visual basic according to our curriculam and at the same time i heard that C is powerful and the most efficient language so i learned all the basic synataxes and other things in C.


Then i spend time learning J2EE and then .net and build few projects in each one of these.





Now i am confused as to what shud i choose for my future ...?





i absolutely hate microsoft for their profit driven approach and it takes alot to upgrade yourself for the next release and also at the same time i believe in java things are so slow in terms of their product line .... what shud i do %26gt;?

Help me !! i am a confused student !! C,C++, C#, Visual Basic , java ? Which one ?
C++ is the way to go
Reply:Acc to me you should only try to keep your basic programming skills strong. This will help you in all the languages you go for......Because only difference when you shift from one language to another is Syntax but the basic funda remains the same................





Therefore look for your on interest and try to practice on it more and more.................





Hope this will help you
Reply:You must Carry on with J2EE!!!!!
Reply:hi


i think you can find the wold throgh java.because of its power,platform independent,reusableetc


then go to javaand j2ee j2me and these are free wares





then


enjoy java and feel the power of java
Reply:First you will learn C ,then C++ %26amp; lastly JAVA2 because


they are based on each other.


When you will clear from the concept of C, the you move to the C++ %26amp; lastly JAVA2


The book are


E. Balagurusamy for ANSI C %26amp; C++


H.Schildt for JAVA2
Reply:i started learning programming from pascal and then moved on the c and then


on visual c++ according to our curriculam and at the same time i heard that C++ builder


is powerful and the most efficient language so i learned all the basic synataxes and other things in C++ builder.


Then i spend time learning asp and then .net and build many projects in each one of these.


then i see this is not poweful language and start php and spend 6 month with design and test and ...


Now i am confused as to what shud i choose for my future ...?(like you but with diffrent way)





but now i think on C++ builder .net ,


it's my suggestion for you.
Reply:It depends where you see your future.





If you want to hate your life and rue the day you first turned on a computer, then choose Visual Basic.


If you want to do some decent coding, then choose C++ - but it'll be tricky!


Burn Java to a crisp and bury it deep underground. Nobody needs Java.


Learn Delphi if you're interested in a fast production line - I've never known RAD to be more R.
Reply:1. Microsoft is not really evil - they doing business as anyone else does.





Plus without MS Windows OS we would be paying $2,000 for ugly OS to SUN/HP/IBM and still paying $15,000 for bad PCs to the same vendors.





2. Java is not slow - you need to tune JVM well





General idea - learn Java J2SE/J2EE first and .NET second.





Plus learn SQL, XML, etc





3. Get a IT job if you can - practice is what you need


RE: Writing C# in Microsoft Studio? (with code)?

Ok, so I have code included this time. (it took me 5 min to write it in VB but no luck with C#, and for the person who said you can't write C# in Visual Studio...you can, but thanks)





This is the VB code:











Public Class Form1





Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


Dim radius As String


Dim area As String


Dim circumfrence As String


Dim diameter As String


Dim PI As String





PI = 3.1428


radius = TextBox1.Text


area = PI * radius * radius


circumfrence = 2 * PI * radius


diameter = radius * 2





Label3.Text = area


Label5.Text = diameter


Label7.Text = circumfrence








End Sub





End Class











I can set up the code in C# (this is for a windows application by the way) but it is being very stubborn in letting me take a users input and using it as a number. Thanks for any help! =)

RE: Writing C# in Microsoft Studio? (with code)?
Once you get the hang of it, C# is just as easy as VB


I've free-handing this, so I'm not sure it's going to be perfect..


I don't quite understand why you use strings for everything... numbers would be easier...





I use double.Parse() in here. this assumes you have entered good data. Look up TryParse to test your user's input...





Public Class Form1





Private Sub Button1_Click(ByVal sender System.Object, ByVal e As System.EventArgs) Handles Button1.Click


double radius;


double area;


double circumfrence;


double diameter;


double PI;





PI = double.Parse(3.1428); //can't remember if you need to parse this


radius = double.Parse(TextBox1.Text);


area = PI * radius * radius


circumfrence = double.parse(2) * PI * radius


diameter = radius * double.parse(2)





Label3.Text = area.ToString();


Label5.Text = diameter.ToString();


Label7.Text = circumfrence.ToString();








End Sub





End Class








That's the gist. Use the Parse method... I dont' have VS in front of me and can't remember if you have to .Parse those constants, but it will still work if you do it.

dried flowers

Building a "Hello World" DLL using the Microsoft C++ compiler.?

Can anyone help me write a "Hello World" DLL console app. using MS C++ compiler ? Without using the Visual Studio .NET IDE.


(It seems to be next to impossible getting a simple answer for that question, by trawling the web)

Building a "Hello World" DLL using the Microsoft C++ compiler.?
Here are the steps:


1. Open the Visual Studio 2005 Command Prompt window. Note: The Visual Studio 2005 Command Prompt automatically sets up the correct path to the Visual C++ compiler and any needed libraries, so it is used instead of the regular Command Prompt window.





2. At the command prompt, type notepad and press Enter. In notepad select the File menu and save the file as hello.cpp and press Enter.





In Notepad, type the following lines:





#include %26lt;iostream%26gt;





using namespace std;





int _tmain()


{


cout%26lt;%26lt; "Hello World!! " %26lt;%26lt; endl;





return EXIT_SUCCESS;


}





3. On the File menu, click Save. You have created a Visual C++ source file. On the File menu, click Exit to close Notepad.





4. At the command line prompt, type cl /EHsc /LD hello.cpp and press Enter. The /EHsc command line option instructs the compiler to enable C++ exception handling while the /LD option sets the file output to a .DLL file.





Look in the folder where the hello.cpp file was saved and you will find a hello.dll file.
Reply:I'm not sure what you mean. Do you want a console app, a DLL, or a console app that calls a DLL?





A console app is simple. A DLL is a bit more work. I've never called a DLL from a console app, so I would have to check if that's even possible. Let us know what it is that you're trying to do.
Reply:just open a project ... write :


void main()


{


printf("Hello world");


}





and you are done


Integrating c# with microsoft word?

can any one help me to open microsoft word documents from c# and modify word docs from c#...





i am using visual studio 8......





i searched google but the information i got not helping me....





any one sujject code for ..................me plz............

Integrating c# with microsoft word?
Why would you want to do this?


Are you trying to edit the Word Document?





Does the Word Document have code in it?





Just copy and paste it into a C# files? Then you have it in C#???


Problem with Microsoft Visual Studio 2005. I'm not able to get all of the languages that I paid for. Help!

I need to know how to get all of the languages in this suite to function? They are C#, C++, VisualBasic, J# and the SQL database. The only one that I could ever use was C++. I was told by Microsoft that the .Net 2.0 framework is crippled, and they can't repair or replace the suite of software. Now that I'm out of all that money what can I do?

Problem with Microsoft Visual Studio 2005. I'm not able to get all of the languages that I paid for. Help!
Are you making this up? Seriously, if you paid for VS 2005 (or if you had the money to pay for it), you would have to know how to click on file-%26gt;new project or solution or whatever it's called, and browse the list on the left hand side.





And what's this about Microsoft telling you 2.0 is crippled?


Does Anyone Know Anything About Microsoft C++ Programing 2005?

I just downloaded Visual Studio 2005 for my C++ class and I need to change my debugging location. When I did it the first time I told it to open it in Internet Explorer, but now I need to chance it because I cant view my work.





Can someone please direct me on how to change this?





And what should I select so that I can view it?





And please dont make any smart remarks. If you cant help me then just do not answer.





THANK YOU TO WHO EVER CAN HELP

Does Anyone Know Anything About Microsoft C++ Programing 2005?
Debugger Project Settings: http://msdn2.microsoft.com/en-US/library...





Explains how to specify debugger settings, how to set debug and release configurations, and how to manage symbols and source code. Also describes appropriate project settings for C++, C#, J#, and Visual Basic debug configurations, as well as web projects


__________________________


__________________________





Creating Debugger Visualizers with Visual Studio 2005





With debugger visualizers, you can define the information you would like to see about a specific .NET or custom class during debug mode. And as the name suggests, you can also choose how you would like to visualize these details.





http://www.devx.com/codemag/Article/2782...





Visual Studio 2005 has some pre-existing visualizers that you will discover during debug mode. You can access the visualizers by using a dropdown list on the left side of the new DataTips between the selection and its value. For example, if you point to a string object in Debug mode, or even an actual string, you will have access to three debugger visualizers: Text, XML, or HTML.





You can also access visualizers through the Watch windows. The DataTip's Watch window is where you can see the _stringvalue property of a StringBuilder object. When you select the XML visualizer, you will get a better view of the XML-formatted string





____________

gift baskets

Does Anyone Know Anything About Microsoft C++ Programing 2005?

I just downloaded Visual Studio 2005 for my C++ class and I need to change my debugging location. When I did it the first time I told it to open it in Internet Explorer, but now I need to chance it because I cant view my work.





Can someone please direct me on how to change this?





And what should I select so that I can view it?





And please dont make any smart remarks. If you cant help me then just do not answer.





THANK YOU TO WHO EVER CAN HELP

Does Anyone Know Anything About Microsoft C++ Programing 2005?
Your explanation is a little unclear, but I'll try to guess what you want.





Are you trying to design web pages, and you no longer want to debug them in Internet Explorer? OK, this is easy to fix:





With your project open, right click on any .aspx file in the solution explorer, and click 'Browse With...'. All installed web browsers should appear in a list. Click the one you want to use and click the buttom 'Set as Default'. You can now preview the page, or cancel and your settings remain when you save the project.





Note that debugging in IE with Visual Studio is easier, Visual Studio integrates better with IE.
Reply:Right click you project in "Solution Window" -%26gt; "Project Properties"





from the left tree view select "Build" and you will find a drop down menu to choose from.


Programming in C++?

I have Microsoft's visual c++ 6 installed in my computer. Could some one help me to understand how I can write a code and convert into binary. I am not asking for the code but for the procedure. I want step by step procedure like which command to start with a new project? After typing in the code how to compile ? How to pre process before compiling, Then how to save the binary file at the last. I feel a bit lost with the many software options.

Programming in C++?
No worry!


1) Go to file menu-%26gt;New --%26gt; Project (click here)


2)A popup window will open --- Select General -%26gt; Empty Project





3) Enter a name in the text-field provided below (say test)


4) Press OK.


5) In the Left side bar , you will see "source files" (project explorer) in a folder view


6) Right click on it --%26gt; Add--%26gt; New Item--%26gt; select code... type a file name , abc





7) press OK





8) write the following code in the file--%26gt;





//Begin of the code





#include %26lt;iostream%26gt;


using namespace std;


int main(){


cout%26lt;%26lt;"Hello from jadu";


return 0;


}





//End of the code





8) Press Ctrl +S or press the save button





9) F7





10) Ctrl + F5 or press run





thats it...
Reply:Start here


C++/MFC compilation error, help (c++ newbie)?

hi, i'm trying to learn using MFC and the first example i tried out didn't compile on visual c++ 2005. here it is:


i created a win32 empty project and added one source file with the following:





---





#include %26lt;afxwin.h%26gt;








class CMyApp : CWinApp


{


public:


virtual BOOL InitInstance();


};





class CMyWindow : CFrameWnd


{


public:


CMyWindow()


{


Create(0, L"My first app, ehi2");


}


};








BOOL CMyApp::InitInstance()


{


m_pMainWindow = new CMyWindow;





m_pMainWindow-%26gt;ShowWindow(m_nCmdShow)...


return TRUE;


}





CMyApp App;





-------





when i compile it says:


"Error 1 fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d] c:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h 24 "





what should i do?

C++/MFC compilation error, help (c++ newbie)?
From a google search: http://www.thescripts.com/forum/thread46...





And, you're writing MFC apps as a C++ newbie? That's terrible. You should learn C++ first before trying to do anything like MFC, GUI, win32 api, etc.
Reply:is this VC++ 2005 express, if it is AFAIK MFC is not supported on the express version
Reply:Its been a while since I have programmed C++ but off hand you might want to check and make sure you have all the libraries that you are using linked in the properties in Visual Studio.


C++.........which on is the better version of c++........?

1.Borland's Turbo C++ Explorer,


2.Microsoft's Visual C++ 2005,


3.Open Watcom C/C++ Compiler


i want to learn c++,please tell me a good website,which version should i have ?

C++.........which on is the better version of c++........?
I would personally recommend GCC's g++ which is free and open source. I don't know much about 1 and 3 but be very careful with VC++ as it can teach you very bad habits and does alot of things in a very nonstandard way. It does have a nice interface though :p


[1] is a version of GCC that will run on windows.
Reply:microsoft visual one is a good one.
Reply:Of those three, Microsoft's Visual C++ 2005 is by far the largest, most dominant, and best supported IDE. There are a few answers here telling you to use open source environments--I suggest you do NOT use the open source ones until you are more comfortable programming. While they have some nice features, the user interfaces often leave a lot to be desired.





One of the arguments against Visual C++ is that it costs money. This is no longer true: Visual C++ 2005 Express Edition is now free of charge. It does leave out a few features, but they're not anything you're likely to miss (MFC support, anyone?). Note that you may want to download and install the "Windows Platform SDK" as well, but that is also free.





One other answer also commented that Visual C++ is non-standard and can teach some bad habits. If you use the .Net mode then this is true (you will be given the option of whether to use .Net when you create new projects). The C++ used for .Net has many custom extensions that only Microsoft uses. When you are using normal C++, however, they have a very good standards compliant compiler (roughly equal to G++ on standards, and with much better optimization).
Reply:i recommend you visual c++, and you can simply go to the microsoft developer center of visual c++ to study, and they recommend you a lot a associated community website for asking questions


search the keyword


microsoft developer center visual c++


the software is downloadable from microsoft official website
Reply:For a begginer





Borland C++ is advisable





and you can easily run and learn





no need of much configurations in it..





All the best
Reply:srry i dont get
Reply:Go with DEV C++. Simple to use IDE, it's free, and for a begginer you can put it on a usb drive and carry it with you.

wedding

Visual c# 2008 or Visual c# 2005 ?

I currently have Visual c# 2005 express edition with Xna game studios and i just found the 2008 version on microsoft. Which won should i use? Is the 2008 verison compatible with XNA game studio 2.0?

Visual c# 2008 or Visual c# 2005 ?
yes.. use 2008.. it allows you to create a project with any framework available through a drop down..





so even if 2008, 3.5 framework is not directly compatible with XNA 2.0, you can make a project with .NET 2.0 frame work that clearly already works with xna 2.0


How to install visual c++ 2005 expree edition?

I am struggling like hell, please help me out. I have the windows service pack 2. I have downloaded the 2MB(visual c++ express edition) file from net which inturn directs to the Microsoft server but that stupid server is not working. I dont know why?? I have a CD, provided by the computer magazine, which provides the same IDE, but some files are missing that CD. Please help me out?? From where to install Visual C++ 2005 Express Edition??

How to install visual c++ 2005 expree edition?
u need to buy a license... don't go for pirates or trial versions
Reply:The Express editions are just for advertising the product.You have to purchase full version which is about 600 MB


Does anyone know of any good visual C# learning tutorials that are free?

Trying to learn visual C# well enough to create games in the microsoft XNA studio. Does anyone know any good websites to learn?

Does anyone know of any good visual C# learning tutorials that are free?
Check this page from Microsoft.





http://www.microsoft.com/events/series/m...





They have a series of webcasts under the heading: Introduction to 2-D Video Game Development.





You will have to register (email address required) but I think they are free. I signed up for a web cast on a different topic, and it was free.


Is "Visual C++ 2008 Express Edition" permanent or temporary ??

Hi guys, this is a question for the programmers out there.


I just downloaded and installed "Visual C++ 2008 Express Ed" from their website:


http://www.microsoft.com/express/vc/


Does this Express Edition expire or is permanent on my computer, (does it expire after a few months) ?


Their quote is "Free, but limited editions of Visual Studio 2005 for a single programming language supported by .NET."


What does that mean? Does it mean for a limited time or does that mean something else?


[ I'm just worried that someday I'll get an error message like, "Sorry, this Visual C++ Edition has expired". ]

Is "Visual C++ 2008 Express Edition" permanent or temporary ??
it is permanent but you should use something like code::blocks because microsoft is eeeevil
Reply:The Express editions are totally free but you have to register them with Microsoft within 30 days of installing the product.





Each copy of Express only supports one programming language, but there is no reason why you can't download and install all Express products.
Reply:Hi there,


No, your cool, it is free. The express editions supposed to have slightly limited functionality, as with the express edition of SQL server, its free but limits the databases to a certain amount of gig (i think its 2 or 4 gig). So most individual programmers would never know they are limited. So enjoy!

flowers on line

Visual C++ Express to MS SQL Server Express question?

I installed Visual C++ Express 2005 and MS SQL Server 2005 express. I was playing with the idea of creating a front end program and writing/reading to the MS SQL database. I created a new database using the SQL server management express and was looking to connect the database to my Visual C++ program. In the Visual C++ Express, I see there is a Database explorer in which I can connect to a database. I put in the correct .mdf filename, put when I press OK, I get the following message:


"Unable to open the physical file c:\program files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\test1.mdf


Operating system error 32 "32(The process cannot access the file because it is being used by another process.)"


An attempt to attach an auto-named database for file c:\program files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\test1.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on a UNC share"





Can someone help point me in the right direction with what I

Visual C++ Express to MS SQL Server Express question?
I am not a VC++ guy but it seems like you cannot access an existing databases in the manner you are trying to.





Try to detach you database from with SQL Server and then try it. It might work.





Read more carefully you VC++ documentation.





Ways of connecting to online databases might be through ado,rdo,odbc,oledb interfaces etc.


C++ help!!!!!!!!!?

i need a free compiler or the Microsoft C++ visual for download





but i'm using a library computer





so i was wondering if i can use a 1 gig memory stick to download the compiler on the stick, bring it home to my laptop ( no internet connection, and practice at home?

C++ help!!!!!!!!!?
http://www.bloodshed.net/devcpp.html





This is what you want. Should have everything you need, including a nice IDE. You shouldn't have any problems downloading it straight to your stick and taking it home.


Help- stuck with using a C compiler??!!?

I've got a project due in at college, and i don't know anything about using a C compiler!! It's on finding codes in texts, i'm trying to use the program on the panin.c link at http://cs.anu.edu.au/~bdm/dilugim/panin.... I've tried downloading Microsoft C++ Visual Basic and Miracle C but it keeps coming up with errors msgs.... could someone try the program out/ tell me where i'm going wrong? I want the program to work on a file containing text so I can find Panin's patterns....?

Help- stuck with using a C compiler??!!?
That web page specifically says that the program is for linux/unix and is known to compile ok with gcc.





Maybe the program is relatively easy to port to windows but you don't seem to have the experience to do it. So your options seem to be:





(1) use someone's linux machine - a friend, perhaps





(2) install cygwin on windows. Among the things you can download with it is the gcc compiler. It isn't that hard and you should be able to compile the program.
Reply:Welcome to the wonderful world of programming. I've got news for you, if you stick with this field, you better get used to seeing errors, it just comes with the territory. What you should do is, when you see an error, look for a solution rather than going online and asking someone. You'll learn to be self-reliant and you'll learn how to fix these errors yourself. If the compiler is Unix-based, it probably has man pages, so lookup the errors in there and figure out how to fix them, or consult the compiler's documentation.
Reply:No way can you expect a programming course in C++ from Y7A! Taking an existing C program and porting it to a different compiler can be trivial or it can be close to impossible. You need experience in C/C++ to be able to do that. If you are serious with using c/C++ I would advice that you get a C++ for Dummy handbook and start getting experience. Than you will also be able to the the needed conversions.


C++ adding help???

i have microsoft c++ visual 2008 for windows i want to creat a basic program that will count to 1 million and display the numbers on the screen wat will i need to type plz help

C++ adding help???
i would do it by using a for loop





for(int i = 0; i %26lt;=1000000; i++)


{


cout %26lt;%26lt; i %26lt;%26lt; endl;


}

florist shop

I need an actual example of how to write a 'float function' in Visual Studio 2005 for C++!!!!!!!!!!!!!!!!!!!!!

i have the program Microsoft Visual Studio 2005





i am using this in my computer science class





i know how to properly write a 'string function' in C++ but in my homework assignment we need to write a 'string function' and a 'float function' and i have no idea what im doing wrong





i do exactly the same thing i do w/ the 'string function' to the 'float function' but it wont compile and i dont understand what the error is trying to tell me to fix, please god someone help me!!

I need an actual example of how to write a 'float function' in Visual Studio 2005 for C++!!!!!!!!!!!!!!!!!!!!!
When you ask a question like this in the future, it might help to also post the error that you get when compiling your code. It actually can tell you a lot!





Based on the code you posted, I see a couple of problems:





1) You function signature: float findarea (float h, float a, float b);


Doesn't match your function definition: float findarea (float h, float a, float b, float area)





That will be a problem. Looks like you can eliminate the 'float area' variable and they should match then. Remember that the signature you put at the beginning of your code needs to match the function you write later on!





2) when you call findarea: cout %26lt;%26lt; findarea;


You are not passing any of the variables! You need to send the variables to the function for it to do any work. You probably want: cout %26lt;%26lt; findarea(h, a, b);





3) Finally, in the function itself, you do work on the variable 'area' but you return an unitialized variable 'testarea'. You probably want:





float findarea (float h, float a, float b, float area)


{


return ((1/2)*(h))*(a+b);


}








If you still have problems, you probably should post a new question with the part of the code that matters and the error messages that you are seeing when you compile. But I think these three changes will compile OK for you (assuming you make the same kind of changes to your other functions). There is nothing special about float functions, you just need to brush up on the rules for writing functions in general.





Good Luck!
Reply:Can you post your code? Do you just need a function that handles floating point numbers?





float division(float x, float y){


return x/y;


}





int main(){


cout%26lt;%26lt;division(10,3)%26lt;%26lt;endl;


}
Reply:Edit your question and put in the code you are trying to use...we can't really help you with your errors unless we see the code. This also allows people to see that you did give it some effort and you need help rather than looking for homework answers.


When running WinXP on a macbook via bootcamp How do i type the hash key? i need it for c++ in visual studio.?

I am running WinXP on a macbook via apples bootcamp software, mainly so that i can run microsoft's visual studio software to do c++ programming. what i need to know is how can i type in the hash key without having to go to character map and copy it from there. in mac os x all i have to do is alt +3 and i get the hash key but this doesn't work in windows. please help.

When running WinXP on a macbook via bootcamp How do i type the hash key? i need it for c++ in visual studio.?
Try shift 3


What's the difference between C++ and C#? Is visual C++ a different language or just a new IDE? What apps are

Are visual C++ and C# as distributed by Microsoft new languages or just new IDEs? What kind of applications are developed with each language? Which one should I learn if I want to make a computer game?

What's the difference between C++ and C#? Is visual C++ a different language or just a new IDE? What apps are
C is a high level language invented by Kernighan and Ritchie in the late 80s.





Originally Ritchie and some other guy were creating a language called "B" kind of like plan B suggesting that it would be the alternative language. "B" kind of sucked, so there came C. (There is also a D language out there that never gained much popularity, but it still has some diehard fans. There's even a C--.)





C++ is something of an Object Oriented extension of the C langauge (although it was still possible to do some OOP programming in classic C)





Visual C++ is not a new language.


It's just Microsoft's C++ environment.





C# is a different language. However, if you know C++ well, you should be able to make the transition to C# within an hour or so (they're THAT similar).





Some of the main differences are:


C# doesn't allow functions outside of classes.


The "using" statement has kind of replaced #include


Pointers are HIGHLY discouraged in C#. You have to mark your code as unsafe to use them.


C# does all its own memory management and "garbage collection". If you want to do any memory management in C#, you have to play some tricks.





Most professional videos games are written primarly in C++, but you should still be able to make a decent game in C#. You can still use DirectX and OpenGL in C#.





C# isn't so popular for games because - it's rarely used on non-Windows machines (you're not going to be doing C# for Playstation or Nintendo games).





C# does a lot behind the scenes for you. This is great if you're making an office application. Not so great if you are trying to squeeze every last bit of performance out of your machine. Games often require this kind of control, and C++ gives you more direct control than any other major high level language.
Reply:C++ preceded C#. C# is sort of a hybrid between C++ and Java that Microsoft came up with. C# comes with a framework and in theory eliminates the kind of memory problems that are issues when using older languages like C and C++. Visual C++ is an IDE offered by Microsoft.





All sorts of apps are developed using these such as front-end interfaces (GUI), web services, and Windows services. Computer games typically have very high performance requirements with regard to graphics so you usually end up operating with some low-level code. I would think this makes C++ preferable to C#. If you learn C++, C# will be pretty easy to pick up, but going from C# to C++ is going to be tougher IMO.
Reply:C++ and C# are languages developed by Microsoft which have similar backgrounds. They are both based on the original language of C. Thus they would possess similar jargon and procedures. However, they differ slightly in the manner of forming and calling functions, and many other commands.





In my opinion, I think C# is more powerful than C++. I have used C++ in creating a host of small programs. One of my colleagues used C# for his final year electrical engineering project and was able to do many things that I don't think is possible with C++. I would recommend C# if you want to make a computer game.
Reply:C# is like Java, except it was developed by Microsoft. C# compiles to MS's intermediate language, which can be platform independent (i.e. can run on Windows or Linux) as long as there's a .NET Common Language Runtime available for the platform (just like Java).





C++ on the other hand compiles straight to native code (i.e. binary) thats specific to a platform. Its also a bit harder to develop applications with C++ than it is with C#, as C# provides strong type-checking, garbage collection, and other features. C++ requires you to manage everything about your application, but can provide enormous performance over C# any day.





Visual C++ is an integrated development environment made by Microsoft to assist in development of Windows applications. There are other IDE's available, such as Borland C++.





As for your question on which language to use to develop games with, thats a toss up. On one hand, C++ will give performance, but is extremely difficult to develop games with. Its more of a personal preference really. I'd choose C# as there's now the XNA framework that Microsoft made to help developers create games.





Any kind of application can be developed with C++ and C#.





One final note: C++ can leverage the .NET framework, so you can gain the benefits of both worlds. Having the .NET framework provides a lot of common tasks that many applications need, such as developing window forms and database access to name a few.
Reply:Visual C was the C++ predecessor. As it's name implies, alot of C remains in C++. Although not actually being more powerful than C, C++ allows the programmer to more easily manage and operate with Objects, using an OOP (Object Oriented Programming) concept.The IDEs is somewhat consistent within both platforms. The difference is mainly design tools and many more plugins.


ASP.net Visual Basic Versus C#?

i know microsoft decided to make C# , Visual Basic, J# , to make it easier on the person coming from that world to build asp.net pages. but is there cons or pros between the 3 ?

ASP.net Visual Basic Versus C#?
In terms of performance, all .NET languages compile to almost the same Intermediate Language (IL) hence perform almost the same.





I do not know about J#, but I can give you an idea about C# VS VB.NET.





There is a myth that C# code is faster which is not totally true, but there is a grain of truth in that since VB.NET allows you to take actions that might make your code of a lesser performance. Such actions might not be possible in C#.





You cannot use several code blocks with different languages in the same page. You can reference assemblies built in other .NET languages though. In .NET 2.0 you can build different pages in different languages. However this was not possible under .NET 1.1.





Hope this helps.
Reply:If you like Java, try J#. If you like VB, keep on using it. If you like C, then C# will make you way happy. Really.





I tend to use C# because it gives me a bit more control over my threads than J#. And if I get a little lazy writing code, C# has built-in housekeeping, like Java. The only real advantage I've discovered in J# is the built-in ability to .zip a file. I've never been a fan of Visual Basic, so I just don't use it.





A fellow developer recently switched to C# because he discovered that he could charge more for it than VB. That was his only reason.
Reply:asp.net pages are created using c# or vb. the con of using j# is that i do not believe you can. and even if you could, support on the internet is slim. so the consideration becomes between c# and vb. both languages allow the exact same operations frequently using the exact same code. the only difference is minor syntactical points (c# uses braces everywhere, whereas vb uses no braces and prefers the End XXX construct (End If, End While, End Select)). people tend to have an easier time reading vb than c#, and the learning curve for vb is far more appealing. with programs out there whose sole purpose is to convert between vb.net and c#.net, it seems like vb is definitely the best way to code your asp.net pages.
Reply:The only one I'd steer clear of is J#. I was a Java programmer. Learning C# for me was a snap. VB.Net was easy as well.





That's the nice part about Microsoft.Net. Regardless of the language you type into your IDE, it all compiles down to MSIL. Therefore, the choice of language is just personal preference on your part.





Now, having said that, let me also say that C# has one really big thing in its favor: the hourly rates you can get for C# are significantly higher than for VB.Net. That's because most enterprise level apps that are done in .Net use C#, whereas VB.Net still has the stigma of only being good for smaller departmental apps (I don't believe this to be true but other people seem to), so they don't pay as much.





Eric

sympathy flowers

Whether I can do all in Visual C# 2005 as I can do in Visual Studio 2005?

or this is just limited to C# only..?





What is the basic difference..?





Please let me know why microsoft has different flavors like Visual C# 2005, Web Developer beside Visual Studio





help me with more information

Whether I can do all in Visual C# 2005 as I can do in Visual Studio 2005?
C# is a language that is packed in several packages:


1. Visual Studio 2005


2. Visual Web Developer


3. Visual C#.NET 2005 Express Edition





the last two are free versions where number 2 is used to develop ASP.NET projects in C# and the third one is for developing Windows Based applications.





The First one has few versions those come with different options and advantages. Visual Studion has VB.NET, C#, C++, ASP (in VB or C#), Office development, Smart Phone and PDA development, ... ect. and it's NOT free.





for more information visit this site:


http://msdn2.microsoft.com/en-us/vstudio...


How do I determine what patch to download for falcon 4.0 allied force to try and fix a c++ runtime error?

the error is called a microsoft visual c++ runtime error

How do I determine what patch to download for falcon 4.0 allied force to try and fix a c++ runtime error?
This depends on exact error message appears. You could try to download the microsoft visual c++ runtime from the link bellow:





http://download.microsoft.com/download/v...


After i installed the new toolbar ,when i try to launch the norton spyware program:c:\program files\yahoo\nss

On top of the box it says Microsoft visual c ++ runtime library

After i installed the new toolbar ,when i try to launch the norton spyware program:c:\program files\yahoo\nss
I'm not sure but


scan for viruses AND spyware, adaware, etc. and if the toolbar is infected, have it fix the problem. then you would uninstall the toolbar if you can.





BUT





I wouldn't use norton. i had it before and it just made matters worse. (norton likes to create trojans so you would buy the software.) i use AVG Free and Adware SE Personal in combination together. those programs have manual updates so just click check for updates or whatever i hope i helped!


Do you know where can I download a free chat artificial intelligence program in C++ language?

I use Microsoft Visual C++ 6.0.


Answer only if you are sure please!





Thank you.

Do you know where can I download a free chat artificial intelligence program in C++ language?
I am absolutely sure, one hundred percent certain, without a doubt, that the best thing for you to do is search Google and SourceForge. If something along those lines exists, you will find it there.





Rawlyn.

bridal flowers

Whats a good instructional site that teaches you how to code in C#?

I wanna learn Microsoft Visual C#





Thanks in advance! :D

Whats a good instructional site that teaches you how to code in C#?
There are several sites that offer some good examples, tutorials, tips, etc. Here are a few of my favorites :





http://www.c-sharpcorner.com/Articles/Ar...





http://www.csharpfriends.com/Articles/ge...





Oh yeah - I guess we should include one from the "creators"





http://msdn2.microsoft.com/en-us/vcsharp...





I would also recommend getting a good book on it - Deitel, Murach, and a few others publish some good ones.


Good luck, and happy coding : )


How can I solve a problem which i am facing in C++ File handling? Please read further...?

Consider the following program,





void main ()


{





int productno;





char productname[12];





ofstream fout(product.txt);





for(int i=0; i%26lt;5; i++)


{


cout%26lt;%26lt;"Enter product no %26amp; name \n";


cin%26gt;%26gt;productno%26gt;%26gt;produtname;





fout%26lt;%26lt;productno; cout%26lt;%26lt;"\t"


fout%26lt;%26lt;productname; cout%26lt;%26lt;endl;


}





fout.close ();





}





using this program, we can write product no %26amp; name for 5 products in text file. After that, if i open that file in Windows, the condents of that file will be in unreadable format with some symbols. How can solve this problem. I am using Microsoft Visual C++. Please help me... Thanks in advance....

How can I solve a problem which i am facing in C++ File handling? Please read further...?
I'd be wary of the logic in the program above. It doesn't look helpful to me.





It sounds like you are either writing to a binary file, which I doubt, or you have string problems. Are you typing in product names that are longer than 11 characters? If so, that could easily explain your trouble. Make productname 100 characters long, and see if that solves the problem.
Reply:Sorry I don't have a C++ compiler installed at work (as I work in Java) but give this a try...sorry if there is an error...as I do not have a compiler...but it should be much better then what you were doing there were multiple problems that I saw...I had to break the cin up because yahoo! replaced some of it with "..."





#include %26lt;iostream%26gt;


#include %26lt;fstream%26gt;


#include %26lt;cstdlib%26gt;





using std::ofstream;


using std::namespace;


using std::ios;





void main ()


{


int productno;





char productname[12];





ofstream fout("product.txt", ios::out);





for(int i=0; i%26lt;5; i++)


{


cout%26lt;%26lt;"Enter product no %26amp; name \n";





cin%26gt;%26gt;productno


%26gt;%26gt;productname


fout %26lt;%26lt; productno %26lt;%26lt; '\t' %26lt;%26lt; productname %26lt;%26lt; '\n';


}





return 0;


// Unnecessary because the ofstream destructor closes file fout.close ();


}





Also...as the commenter listed a learyness of logic...I did not change your logic within my code. I just added some basics...I made no logic changes.


Please help, How can I work with VeryLongIntegers with 100 or less digits (positive) in C++?

How can I work with VeryLongIntegers with 100 or less digits (positive) in Microsoft Visual C++ without using external classes?


Thank you





Actually:


Input


The input will consist of at most 100 lines of text, each of which contains a single VeryLongInteger. Each VeryLongInteger will be 100 or fewer characters in length, and will only contain digits (no VeryLongInteger will be negative).








The final input line will contain a single zero on a line by itself.








Output


Your program should output the sum of the VeryLongIntegers given in the input.








Sample Input





123456789012345678901234567890


123456789012345678901234567890


123456789012345678901234567890


0





Sample Output





370370367037037036703703703670

Please help, How can I work with VeryLongIntegers with 100 or less digits (positive) in C++?
Danny, you can't work directly with the "very long int." The longest integer in VC is unsigned long long which is only 64 bits and much much less than your max 100 decimal value.





What the assignment is asking for you to do is to store your values as character strings and write your own addition routine--place by place. This means looking at the ones, tens, hundreds, thousands, etc. place in each string and performing addition and carries.





This shouldn't be too difficult; however, it'll take some thought. Try to come up with an algorithm and edit your question or ask another if you have any problems. Good luck.
Reply:I think you can use long keyword to handle long integers.


but i am not too sure about the range of long.





eg : {


long int k=10921083083018301803810830;





or you can use a long integer array to store all digits of the number as separate digits then find the sum.








bye


Help me to fix my msn messenger from error runtime c++ (R6025)?

when i try to sign in my msn messenger the error microsoft visual c++ Runtime library (R6025) appear on my screen,is there any free program can help me get rid of the error?please help





thank you

Help me to fix my msn messenger from error runtime c++ (R6025)?
Put de lime in de coconut

wedding reception flowers

How do I create a crossword in 'C' language?

Hi,





As part of a project, I have to create a basic crossword in Microsoft Visual C++ but I cannot find any links to help me out! I would be really greatful if you could point me in the right direction...





Thanks!

How do I create a crossword in 'C' language?
may be this site help u...


http://www.codeproject.com/info/search.a...


Anyone know how to fix a problem for my computer (c++ debug)?

Everytime I am on myspace or even my email I get a message, that says something about microsoft visual c++ debug library and something about assertion failure.. then i have to push abort and it kicks me off.. if i dont push abort it locks up... anyone know what this is or how to fix it? thanks.

Anyone know how to fix a problem for my computer (c++ debug)?
This issue can be caused by any of the following possibilities.





1. Hard disk drive is short on available disk space.


2. Several software programs have been installed/uninstalled leaving behind bad files and/or confusing the software.


3. Data Corruption.


4. Computer is overheating.


5. Bad Hardware.








Below are steps for Microsoft Windows that should help speed up the computer or determine why the computer is running slow.





1. If you have a hard disk drive that is 2GB or smaller, ensure that there is at least 200MB of hard disk drive space free. If you have a hard drive larger than this size, verify that there is at least 500MB of free hard disk space. This available space allows the computer to have room for the swap file to increase in size as well as room for temporary files.


2. Run Scandisk or something equivalent to help ensure that there is nothing physically wrong with the computer hard disk drive.


3. Run Defrag to help ensure that data is arranged in the best possible order.


4. Remove or disable any or programs that automatically start each time the computer boots.


5. Verify that the device manager has no conflicts, but if conflicts are present, resolve them.


6. If you have Windows XP try deleting all files in the prefetch directory. These are prefetch files and can lower system resources if loading programs no longer being used.


7. Try running through the basic troubleshooting steps for your operating system.


8. Make sure your computer and processor is not overheating, excessive heat can cause a significant decrease in computer performance some processors will even lower the speed of the processor automatically to help compensate for the heat related issues.


9. Finally, if none of the above solutions resolve your issues, it is recommended that you either reinstall Windows or erase everything and then start over.





Go to: http://tp5pro.com/registrycleaner.htm


This may help!


How to flush input/output steams in c++?

i am using Microsoft Visual c++. If i enter a date as 09, it will not be taken. what is the reason???

How to flush input/output steams in c++?
using any numeric datatype for storing such numeric values will always supress 0, bcoz 0 has no significance in 09.


fflush() or flushing the buffer in this case would not be helpfull.


if u want the date to be shown like this u can store the final date using string (ie char* or char[ ]) or int [ ].





u can try itoa() for converting int to (ascii)string.


but then u have explicitly prefix a 0 in the string variable.
Reply:Don't really 100% know why because I can't see the code in question.


The 0 would just be ignored in most cases.
Reply:use fflush();


the sytax is


fflush(stdin);








wen u take input from the user it is stored in a buffer..n is not actually stored in variables...it is done wen buffer is full


I need help in C# Help.?

I'm using Microsoft Visual C# .NET and develop in Windows Application, which means that I'm using Windows form.


If I put in Hyperlink on the form, how do I make it link to internet? For example, "http://www.yahoo.com".


Or maybe, a button? I kind of forget something so basic. Oops.

I need help in C# Help.?
Open up the web browser after the OnClick event is triggered on the link label. Probably the easiest way.





private void linkLabel1_LinkClicked(object sender,


LinkLabelLinkClickedEventArgs e)


{


Process.Start("http://www.asp.net");


}
Reply:I'd use a LinkLabel. http://msdn2.microsoft.com/en-us/library...

flowers gifts

What is a C++ Complier?

a bought a book that told me to download a complier before read later on the pages. I have microsoft visual C++ 2005 express edition and I don't know if that is compiler?

What is a C++ Complier?
A compiler is basically the software used to make programs. You type the code in, compile it, and then its read to be used. Depending on the book, I have a C++ book which wasn't pertaining to MS Visual Studios and therefore I got one from Bloodshed Software which worked just fine with the book. However if the book you bought is for MS Visual C++ you can use the site below for tutorial and download. If its not for MS Visual you should try the Bloodshed, its very easy to use.





Bloodshed: http://ftp1.sourceforge.net/dev-cpp/devc...





Visual Tutorial: http://msdn.microsoft.com/vstudio/expres...





Visual Compiler Download site: http://msdn.microsoft.com/vstudio/expres...
Reply:A compiler is software which translates a computer program from the language in which it is written (such as C++) into machine code which can actually be executed on a computer. If the program can accept a C++ source program, and get it to run on a computer and produce results, it can be considered a compiler.
Reply:A compiler is a computer program (or set of programs) that translates text written in a computer language (the source language) into another computer language (the target language). The original sequence is usually called the source code and the output called object code. Commonly the output has a form suitable for processing by other programs (e.g., a linker), but it may be a human readable text file.





A C++ compiler will convert the source code to a C++ executable file.





There are many C++ compilers like Intel Compiler, Borland Turbo C++ compiler, GCC...etc...


Is there a way for C# programs to get data off a website?

I am using Microsoft Visual C# and trying to get user data off of a PHP webpage (you would have to enter login and password in C# program).

Is there a way for C# programs to get data off a website?
Read this:





Using WebRequest and WebResponse


http://www.c-sharpcorner.com/UploadFile/...





Assuming the form expects a POST response, you would simply need to prepopulate your WebRequest header with the login data as it would be from the login page.
Reply:try creating a path variable and manipulating it

daylily

How do I use char* variable type in C?

The following code in Microsoft Visual C++ 6.0 IDE gives out an error.


It compiles with no errors and no warnings.


Then makes with no errors and no warnings.


But displays a dialog box showing that there is an error and asking to report it to Microsoft.





What is the correct usage of char*?


Can anybody please help me?





//code...


#include %26lt;stdio.h%26gt;





void main(){


char* yourName;


printf("Please enter your name: ");


scanf("%s", %26amp;yourName);


printf("\nWelcome %s, I was waiting for you!\n", yourName);


}

How do I use char* variable type in C?
A char* is a pointer (*) to a bunch of characters (char). But before you can use it the way you want to, you have to make sure that the pointer points to an memory area that is free to store characters in.





Try it like this:





//code...


#include %26lt;stdio.h%26gt;





int main(int argc, char *argv[])


{


   char* yourName = malloc(20 * sizeof(char));


   printf("Please enter your name: ");


   scanf("%s", %26amp;yourName);


   printf("\nWelcome %s, I was waiting for you!\n", yourName);


   free(yourName);


}





This code reserves enough space for 20 characters and you may need to include %26lt;alloc.h%26gt; or something --it's been a while since I last programmed in C...
Reply:ummmmm, It's strange one really :D





I will keep on fixing it
Reply:You have declared yourName but not given it any memory. You could say





char yourName[maxLengthofName];
Reply:A char * is a pointer. You have not initialized to point to an address so it will put the name you enter into random memory. Or windows will prevent you from accessing the memory and put up the error you see. So





//code...


#include %26lt;stdio.h%26gt;





void main()


{


char yourName[256]; // give yourself some space in this array





printf("Please enter your name: ");


scanf("%s", yourName); // yourName is an address.


printf("\nWelcome %s, I was waiting for you!\n", yourName);


}





OR if you need to use char *


void main()


{


char yourName[256]; // give yourself some space in this array


char * ptr = yourName; // the address


printf("Please enter your name: ");


scanf("%s", ptr); // ptr is an address of the yourName Array.


printf("\nWelcome %s, I was waiting for you!\n", ptr);


}





Give either of these a try!
Reply:Hi, Here when you define





"char * yourName;"





'yourName' will store the address where the value will be stored...





just change the scanf statement, remove '%26amp;' sign as 'yourName' already contains the address on your memory..





"scanf("%s", yourName);"


Can you explain surprising C++ parsing?

Much to my surprise, an incorrect copy and paste seems to be legal C++.





Instead of writing


if (my_func())


I accidentally wrote


if (bool my_func())





It seems to compare the function address. Can someone please explain this? I didn't think a function declaration could appear in an expression.





#include %26lt;iostream%26gt;





bool my_func()


{


return false;


}





int main()


{


if (bool my_func())


std::cout %26lt;%26lt; "true\n";


else


std::cout %26lt;%26lt; "false";


return 0;


}





the output is "true".


Using Microsoft Visual C++ version 6.0

Can you explain surprising C++ parsing?
I don't think the code you showed is legal, since it didn't compile with gcc 4.2.0. Also it failed to compile with llvm.





http://llvm.org/demo/index.cgi





Probably it's a bug in microsoft's compiler.
Reply:Wow - that is interesting. I think what is happening is that the expression 'bool my_func()' is being evaluated to "true" because the function is working properly - in other words, it seems like, by including the function in the 'if' condition, it is basically checking to see if the return from it is valid, which - even though it is 'false' - is valid.


Managed and unmanaged with C++?

traditional C++ is only unmanaged code programming language, while microsoft visual C++ offers managed and unmanaged,


which one is better? managed or unmanaged and why? where to use each of them?


by the way, managed and unmanaged is about memory allocation and de-allocation management!

Managed and unmanaged with C++?
"managed" is about letting the computer do some stuff for you.


"unmanaged" is about trusting that a human being with brains can do those things better and more effectively.





Which is "better" depends on the person. Some people do know better than the computer (and prefer "managing" their own memory), and some, apparently don't (or think they don't), andn prefer that microsoft do it for them.


Ever seen these annoying windows popping up, and saying that such and such application tried to access such and such memory and was killed? These are coming from the programs, written by people of the latter kind
Reply:The managed code is a code which runs under the supervision of CLR which ships with .NET Framework.


The CLR provides many run-time features to ur code like thread management, more sophisticated memeory management(Undeterministic finalization) and so on..





What u can choose depends upon ur requirement...means what u want to do with ur code...if it more towards system level then I will suggest u to go for unmanaged.





Also, depends whether u want to port it to some other machine then, go for unmanaged code as it will save u from installing .NET Framework(as it is needed for managed code).
Reply:n0body has given you a good answer, just to explain a bit more.





With managed code from MS, you will have pverhead that will slow down your system. If speed is not all that crucial to you, then go for the managed code.





One thing n0body forgot to mention, with people thinking the computer can do a better job, that computer needed to be programmed by someone. The question really comes down to, do you trust a person a MS to be able to provide a good program, or would you rather build the program yourself, knowing what you have done.
Reply:according to me visual C++ is more better ...more diverse and yes managed programming helps you for not worrying about many issues and just concentrating on yr work


A computer illiterate lady needs help with a microsoft error?

every where i seach i can not find the exact error


"microsoft visual c++ runtime library runtime error


program. ramfiles\hewlett packard\hp boot optimizer\hpboot op.exe


this application has requested the runtime terminate in an unusual way.


i am absolutely clueless, and if any one knows a fix, could i please request very specific instuctions


thank you so much

A computer illiterate lady needs help with a microsoft error?
You could try a fix by going to Start then Run. Now type in 'msconfig' without the quotes. Open the Startup Tab. Scroll down the list and untick anything relating to op.exe. Now click apply, click ok. Re-boot your computer. Eventually when you computer boots you will be presented with a new pop-up window - tick do not show again. Good luck.





wdw
Reply:You do not need to use the HP Boot Optimizer if you do not want to.





Here is how you uninstall it. Once gone, the error will stop.





Uninstalling the HP Boot Optimizer





Use the following steps to uninstall the Boot Optimizer:





1. Click Start and click Control Panel (in Classic View Click Start , select Settings , and then click Control Panel ).





2. Click Add and Remove Programs (in Classic View double-click the Add and Remove Programs icon).





3. Locate the HP Boot Optimizer program in the Add and Remove Programs window.





4. Click HP Boot Optimizer and click Change/Remove .





5. Follow the on screen instructions to complete the Boot Optimizer uninstall.
Reply:Well im my experience if you reload dot net that might clear up the error. I deal with C++ errors alot and about 80% of those are cleared by doing the above. It surely cant hurt.
Reply:That's a bit strange. It sounds to me like you have a C++ compiler on your computer and causing errors. Simply put: a compiler makes programs if you know how to use them. Anyway, did someone give you this computer? If so, they may have left some programs behind that you don't need.
Reply:Uninstall HP's Boot Optimizer and re-install. http://h10025.www1.hp.com/ewfrf/wc/gener...
Reply:usually you get this error when you are in the middle of shutting down your computer and something else was trying to start up while you were shutting the computer down.


Turn of the computer completely, and restart the computer, it should fix itself. This sometimes happens with HP software.
Reply:computer meaning

flamingo plant

C++ program for the game minesweeper?

Microsoft Visual C++ is the program.

C++ program for the game minesweeper?
here is the source code for minesweeper





http://www.planet-source-code.com/vb/scr...





also another one here:





http://www.geocities.com/alansaviolobo/m...


C++ software download!!!!?

Where can i download Microsoft Visual C++??


If it is not downloadable, where can i download a similar software.... knowing that i am just a beginner.... i need it for very simple practice........... THANKS for not ignoring my question.

C++ software download!!!!?
There's a free version of Visual C++ 2005, go here:





http://msdn.microsoft.com/vstudio/expres...
Reply:I'm not sure about C++, but you can download a free C# development environment at





http://www.icsharpcode.net/OpenSource/SD...


A computer illiterate lady needs help with a microsoft error?

every where i seach i can not find the exact error


"microsoft visual c++ runtime library runtime error


program. ramfiles\hewlett packard\hp boot optimizer\hpboot op.exe


this application has requested the runtime terminate in an unusual way.


i am absolutely clueless, and if any one knows a fix, could i please request very specific instuctions


thank you so much

A computer illiterate lady needs help with a microsoft error?
Hi,





This program is not essential for your computer and can be removed. Its main function is to take care of other programs that run as soon as the system is turned on.





First thing is first - make sure you have all the Microsoft Updates installed.





Click here:


http://www.update.microsoft.com





I am assuming you are running Windows XP.





Run and Install any "ActiveX controls" that pop up.


Then, when it asks you what Updates you want to install, choose the top option (should be "Express")





Windows will then search for available updates. Click "Install Updates" and wait while updates are downloaded and installed.





This may take a while - hopefully you are on broadband internet. If not, well... hopefully you do not have too many updates to install!





------------------


If you do not want to run microsoft update or


if you are still having errors, remove the program.





To remove the program:


(the following is from HP's website so I am assuming everything is where they say it is!)





Click Start and click Control Panel (in Classic View Click Start , select Settings , and then click Control Panel ).





Click Add and Remove Programs (in Classic View double-click the Add and Remove Programs icon).





Locate the HP Boot Optimizer program in the Add and Remove Programs window.





Click HP Boot Optimizer and click Change/Remove .





Follow the onscreen instructions to complete the Boot Optimizer uninstall.





Restart your computer.


Does the error message still appear? If not, that is you finished. Windows will now take care of all programs that run on startup.





If the message still appears, that means that it is refusing to uninstall. try re-installing (to repair) the program.





Follow these steps:





click "Start ", "All Programs" , "HP Tools" , "Compaq Tools" , or "PC Help and Tools" , and "Application Recovery" .





Follow the steps to reinstall the Hp Boot Optimizer.





----------------





I hope this information is of help to you. Bottom line - the program error is not harmful to your computer. If you can live with it, thats OK tho I realise you'd like it fixed.


So...


The link for contacting HP is below also.


http://h20180.www2.hp.com/apps/Nav?h_pag...





note that you will need to know your model number (found on the front of the PC usually - you can type it into the search bar on the page the link opens at.)





I hope that my instructions have been clear and apologise if it confuses you too much!





:)


Is the C++ code the same no matter what software I use??

If I use Microsoft Visual C++, or Dev-C++ or any other software??

Is the C++ code the same no matter what software I use??
Actually, not necessarily. For the most part, the code is the same, save some nonstandard commands specific to the compiler.





Basic C++ Coding is the same no matter what compiler you use, but when you get into the nitty gritty commands that are specific to the compiler you are using, it can get hairy.





As for the programs you listed above, they use pretty profound compilers, and this nitty gritty stuff won't make a difference. Your code will work in both programs.





Just remember that the program you're using to write the code ships with a compiler that turns that code into machine readable(binary) code that the computer can understand. What I'm trying to say is better explained by the site below.





Have fun!
Reply:Thanks Puma! Glad I could help. Report It

Reply:C++ is a standard language,


so the c++ code is the same no matter what software you use;


however, compilers may have some differences.

umbrella plant

Is there any way I can get Dev-C++ to work on vista?

I have vista and I got this book that teaches you C++ but I need the Dev-C++ compiler. I tried Microsoft Visual C++ Express but it was hard to use since I'm a beginner. Can I get Dev-C++ to work on vista? Are do you know of any other compilers that are very similar to Dev-C++ that work on vista?

Is there any way I can get Dev-C++ to work on vista?
Have you tried Borland?


Question in C++?

I am new to C++ and I never took it in school so can any one help me in my first application


I am doing an application like a calculator, First i choose two numbers x and y and then I choose the operation, a for adding, s for subtraction, m for multiplying, and d for dividing


and I need help, note that I am using Microsoft Visual C++ 6.0


and here is the code I wrote





I need help because when I choose the operation it give me all the possible operation in one time


and thank you

Question in C++?
on the if (o== a)


make it


if (o == 'a')


and do that for the other if statements.





Also make o a char
Reply:One more thing


why you are repeating codes for add , sub, mult


two times





first you are using like


a=x+y





and same you are using in


cout%26lt;%26lt;"Answer is "%26lt;%26lt;x+y;


Thursday, July 30, 2009

New to C++??

Im new to c++ and want to learn the code and stuff.. I use microsoft visual c++ 2005... there stuff is not helping me at all.





please help me, i want to make programs... thanks 4 your help

New to C++??
study a gud book for c++ which clear your basics for eg header files , declaration, operators , variables , loops , conditional statements , arrays etc.


Virtual C runtime error????

Everytime I tried to download video from Frostwire, my pc get message up saying Runtime Error and window freezes.





Microsoft visual c ++runtime library


Runtime Error!


Program:c:\Program Files\common Files\Java\N MAIN-EXE


R6025


-Pure virtual function call





Could someone explains what this means to me, thank you!

Virtual C runtime error????
something is wrong with the program, you'd be best to uninstall it and reinstall it and that should stop it.


you may also be able to do updates to it, could be a problem with the program that they know about and created a fix.


check updates first, then uninstall

deliver flowers

Help calling Borland C++ based API from MSV C++?

I am trying to call a Borland C++ based API from a Microsoft Visual C++ application via a dll from the Borland Code. I am not having much luck. Are there any common errors or mistakes that could cause this? I know it is possible, but for some reason I am struggling to make it work. Thank you in advance for help.

Help calling Borland C++ based API from MSV C++?
Given your absolute lack of details, it’s impossible to diagnose your problem. However, I will point out some obstacles in what you want to do. The first is that you are trying to use a dll for use with borland linker with VC++. I don’t know if the BC++ linker emulates VC++, but if it doesn’t, you will have trouble directly using it. Any fixes are going to be ugly, which probably involving figuring out the mangled names to use for the import definitions.





The second obstacle is dll dependencies. You are working with the VC++ runtime, so if the borland dll requires additional borland components like their runtime, you now have a problem.


C++ anyone??? urgent?

I hv a c++ project due for 5 days n i hv 2 make it look cool...so i needa use the setw() manipulator at a point but...


also i needed to use microsoft visual c++ and in that getch() %26amp; cout dont go together(if u use them nearby,cout satement is executed at end of the program)


so i hadta use the printf statement everywhere...but noe how do i incorporate the setw() in printf...is dere ne way???


or can i use nething else of that sort???nething wil dooo....???


pls help...


relly urgent

C++ anyone??? urgent?
A precise answer to this question of yours is hard to give


Long before you take it seriously


Perhaps you'll even forget what you asked


Easy way to find it out right away is:


RE-THINKING of the issue...





Have a nice day!
Reply:I agree with inline_function that it is bad programming style to use printf in C++. However, maybe you haven't time to go back and change your program to use iostreams again.





You can do the same thing using the width field in your printf format strings. See the documentation for printf in the Visual Studio help for further details.
Reply:That's source code----
Reply:you can use a function called "flush" with cout to flush the text out before the end of the function. See source below
Reply:come to online chate with me
Reply:Its not clear why u are using getch()? If you want to input a character you can use :-


char ch;


cin.get(ch);


cout%26lt;%26lt;ch;


manipulators like setw() etc are defined in iomanip.h file.





Do not mix printf() (stdio.h , c library) with c++ program. Its bad programming practice.


Is there a way to say what C/C++ compiler and linker were used to compile and link an application?

The matter is that I would like to know if there is a way to find out which compiler and linker were used to compile a C or C++ application.





I have the Borland compiler/linker and two versions of Microsoft Visual C++ (v6.0 and .NET). Is there a way to say if an application (final .exe) was built using one of these (or other compilers/linkers)?





Thanks for any help.

Is there a way to say what C/C++ compiler and linker were used to compile and link an application?
The build tools don't usually put what was used to build the particular executable in them. The only way you can really do this is to have the source code, generate a new executeable and then compare that to the one you wish to find out about.


C++ Header file question (SystemInfo.h)?

i am building a C++ console application that requires me to include "SystemInfo.h"


i included this in my project (ie...... #include "SystemInfo.h")


and i am getting a compile error with microsoft visual c++ compiler:


fatal error C1083: Cannot open include file: 'SystemInfo.h': No such file or directory





i did some research but cannot find this file or where it is supposed to be located, any help would be greatly appreciated!!!!

C++ Header file question (SystemInfo.h)?
Systeminfo.h is probably a system header file. Use %26lt; and %26gt; instead of quote marks. That causes the precompiler to look in the system directories first.
Reply:I used to get that error when I forgot to save the file I included in the program. I hope you the error. Good luck!

floral bouquets

How can I compile & run C++.net project inside #develop2 ?

I just don't want to install Visual C++.Net Express edition because I can't download it using my slow Internet connection and I can't afford commercial versions of VC++.Net. I am using .Net Framework Runtime 2.0 and second version of #develop (http://www.icsharpcode.net/OpenSource/SD... I have downloaded Microsoft Visual C++ 2005 Runtime.

How can I compile %26amp; run C++.net project inside #develop2 ?
If this will be run on an embedded system, you will need to find a compiler such as eVC++, or Visual Studio. Another alternative would be to try out a free compiler found at: http://www.thefreecountry.com/compilers/...


C ++ help!!!!?

Hi guys I have this assignment but I'm having a hard time getting it done... can anyone help...


The assignment says:


Compute and display the following values for the n = 5,9 and 15





1) 1+2+3+...+n


2) (n*(n+1)) / 2


3) n^2





the Compiler used is Microsoft Visual C++ express

C ++ help!!!!?
Well, I won't do your homework for you, but I'll give you a few hints.





1.)





Use a loop, in which you initialize a counter to 1, terminate the loop when the counter exceeds n, and increment the counter by 1 at the end of each iteration. Use a "result" or "sum" variable, which you initialize to 0, and then add the value of the counter into the sum at each iteration.





2.)





The expression you have is a valid C++ expression. Simply assign the expression to some variable, and print the variable.





3.)





You can use n*n in order to compute the square of n. Alternatively, you can use the "pow" function defined in %26lt;cmath%26gt;.
Reply:1)#include%26lt;iostream.h%26gt;


#include%26lt;conio.h%26gt;


int main()


{


int n ,sum=0;


cout%26lt;%26lt;"\nEnter how many numbers"%26lt;%26lt;endl;


cin%26gt;%26gt;n;


for(int i=0;i%26lt;=n;i++)


sum+=i;


cout%26lt;%26lt;"sum="%26lt;%26lt;sum;


}





rest two too simple jus read value of n


2)sum=n*(n+1)


cout%26lt;%26lt;"sum="%26lt;%26lt;sum;





3)#include%26lt;math.h%26gt;


read n


exp=pow(n,2);


print exp
Reply:haha wow a nitghmare a foreign languages and maths ahahhahaha


C++ programming?

hi,


i have by now finished the basics of c++ programming like header files, functions, structs, pointers and many more....but i have only worked with #include%26lt;iostream.h%26gt; header file and wherever i search on the internet i only get tutorials for this header file... so can you send me any links to some tutorials whee i can go further in learning....and one more question can you give me a complete list of all the header files that all available in microsoft visual c++ 6.0 with their functions may not necessarily here but through a link as well,..Thank you

C++ programming?
Here is a list of header files :-





mcalc


abstarry


alloc


array


arrays


assert


assoc


bag


bags


bcd


bios


btree


checks


clsdefs


clstypes


collect


complex


conio


constrea


contain


ctype


dbllist


def


def2


deque


deques


dict


diction


dir


direct


directry


dirent


dlistimp


dos


errno


fcntl


figures


filedata


filter


float


fstream


generic


graphics


hashtbl


io


iomanip


ldate


limits


list


list2


listimp


locale


locking


ltime


malloc


math


mem


memmgr


memory


new


object


point


priortyq


process


queue


queues


resource


search


set


setjmp


sets


share


shddel


signal


sortable


sortarry


stack


stack2


stacks


stat


stdarg


stddef


stdio


stdiostr


stdlib


stdtempl


string


strstrea


tcalc


time


timeb


timer


types


utime


values


varargs


vectimp


vpoint


_defs


_null


iostream





Enough. For other details visit http://cplusplus.com/





Thank You





Senthil
Reply:http://www.cplusplus.com/


Or you could try searching in a help file that came along with your C++ compiler. Borland C++ has a built in help file for the C++ language.
Reply:For header files this is the site you may look for





http://www.cplusplus.com/ref/#libs





For tutorials in C++





http://www.cplusplus.com/doc/tutorial





i think his serves ur purpose.
Reply:wait i will search for u