Monday, May 24, 2010

Microsoft Visual C++ Runtime Library error?

I keep getting this message everytime i try to open up Zune to sync music on too the zune device .. HOW can you fix this promblem!

Microsoft Visual C++ Runtime Library error?
http://www.microsoft.com/downloads/detai...





go there and DL microsoft visual c+++SP1 Redistributable Package (x86)





that fixed my problem,hope it may yours too


Microsoft visual C# 2005 E.E?

"Type or namespace definition, or end-of-file expected"


Does anyone know how to fix this error in my code?


(i'm new to this and i'm trying to create a web browser)

Microsoft visual C# 2005 E.E?
The smart money is on a bracket problem. Especially since he's a newbie (it still happens to everyone though).





There should be an even number of left-brackets ( { ) and right-brackets ( } ). That's probably what's going on.
Reply:Is this a file with a class or interface declaration? If so, are your brackets paired off correctly? Do you have a rogue using declaration somewhere the compiler is expecting a namespace? Have you declared a variable of an unknown type, or a type that does not exist in the using declarations at the top of the file?





Do you have a context in which this is happening?


Run visual c prog?

for run vc program,minimum files for run what on other computer?


must all files copied?

Run visual c prog?
If your program is MFC one, you have two variants: you either link it to MFC DLL's, or link MFC libraries statically. In the second case, your executable will be larger in size but will not require MFC .dll files.


Maybe, you will link it to another DLL's (not MFC) - so you will need insert them into the installation package.


In Visual C++; Microsoft Foundation Classes; Progress control; can it display a percentage number?

I am doing a screen with a report, using a progress control to depict a percentage magnitude from zero to 100 pecent with the SetPos(xx) method. Can I also place a number like "60%" inside the control. You see this on download completion bars and such. SetWindowText("60") does NOT work. How do I do this?

In Visual C++; Microsoft Foundation Classes; Progress control; can it display a percentage number?
yes you can. you just need to get the appropriate method and use it.


i have done it before, but at the moment dont remember what method i used.

palm

Microsoft Visual C++ Runtime Error on GTA San andreas?

Whenever I try to connect to a game on San Andreas Multi Player i get a message saying GTA_SA.EXE has terminated itself in an unusual way. How can i fix this?

Microsoft Visual C++ Runtime Error on GTA San andreas?
Start a new topic and post your problem on http://www.247fixes.com


Microsoft Visual C++ 2005?

I need to download this; but I need to download the entire program at once not just the installer. I have no access to the internet at home.

Microsoft Visual C++ 2005?
The first link is Visual Studio 2005 Trial. The second link is Visual Studio 2008 beta. These are iso images. You would have to burn to a DVD. You will also have to have a msn passport to download (hotmail email works, or you can set up any email for passport for free).


What's the difference between "visual C++ and VC++.net" or "visual C# and VC#.net"?

C++ is a standard programming language; Microsoft made its own flavor of it, and called it Visual C++. Then it created another version of it, as a part of the .NET framework, and called it Visual C++.NET.





C# (pronounce: see sharp) is an entirely new language that resembles C++ a bit, and it was designed by Microsoft to also use the .NET framework. In fact, there is no non-.NET version of that language, hence there is no difference between C#, Visual C#, and Visual C#.NET. [I stand corrected; see Nick F's response, below.]





De .NET framework is both a huge library of software components that you can re-use in your own programs to increase your productivity, and at the same time a set of mandatory programming rules that make it easier to write software that is safe to use and easy to expand.

What's the difference between "visual C++ and VC++.net" or "visual C# and VC#.net"?
the .net demotes that they are architected for the .net framework.





Basically a standard that enables you to write portable and standards based code.





hope this helps





Owen
Reply:jacovkss2 is not entirely correct, the C# specification was created by MS but it's an open specification, anyone is free to create their own specific interpretation of the C# spec, "C#" and "Visual C# .NET" are NOT synonymous (ex. you can write code C# on Linux using MONO)


In Visual C++; Microsoft Foundation Classes; Progress control; can it display a percentage number?

I am doing a screen with a report, using a progress control to depict a percentage magnitude from zero to 100 pecent with the SetPos(xx) method. Can I also place a number like "60%" inside the control. You see this on download completion bars and such. SetWindowText("60") does NOT work. How do I do this?

In Visual C++; Microsoft Foundation Classes; Progress control; can it display a percentage number?
yes you can. you just need to get the appropriate method and use it.


i have done it before, but at the moment dont remember what method i used.

petunia

Microsoft Visual C++ 2005?

I need to download this; but I need to download the entire program at once not just the installer. I have no access to the internet at home.

Microsoft Visual C++ 2005?
The first link is Visual Studio 2005 Trial. The second link is Visual Studio 2008 beta. These are iso images. You would have to burn to a DVD. You will also have to have a msn passport to download (hotmail email works, or you can set up any email for passport for free).


Microsoft Visual C++ Runtime Library,Runtime Error ,Anyone get this mess. too?It disconnects me online.?

I get this message from time to time and usually right in the middle of something important,very frustrating.AT%26amp;T says it's not their problem,it's in my PC.I have not been using a computer very long ,so I need the solution in laymans terms,Thank you.

Microsoft Visual C++ Runtime Library,Runtime Error ,Anyone get this mess. too?It disconnects me online.?
Hey, I'm actually having the same problem. I've also noticed that iTunes stops working as well, so bummer. I think, though that the best thing to do is run a registry scan on your computer. "Registry is a file that is used to log all the changes you make to your system. As you install and uninstall programs in your computer, you make changes to the registry. Overtime, the registry becomes cluttered and causes all sorts of PC performance problems," the site below should help answer some questions. If that doesn't work you can try reinstalling the operationg system or even reformating %26amp; and reinstalling your computer (delete everyting and basically clean sweep of ALL information on your computer)





Hope it helps


Help required on visual c++ 6.0 or Dev c?

Plesae make an overlapped window having white background color having a small triangle on it :

Help required on visual c++ 6.0 or Dev c?
Or not. I don't think I'll be doing your homework / work for you today, thanks. Why did / do you undertake to learn and/or go to school for these things if you aren't going to even try to learn? It's a waste of your time... and correspondingly ours.


"Microsoft Visual C=++ Runtime Library" and "Abnormal program termination" I'm seeing more errors like this ??

I'm getting these Runtime errors that leads to abnormal program termination. Is their a Microsoft hotfix that makes problems or is their a program flaw...








Best Regards


Jesper Bang

"Microsoft Visual C=++ Runtime Library" and "Abnormal program termination" I'm seeing more errors like this ??
It sounds like your trying to run your program with the wrong complier settings. If you programming in c++ then you have the visual c++ option checked. Un check it and run it again.

mint

For visual c+ compiling, is there is a a way to determine an good why to find typo error.?

There are several editors that will point out syntax errors in the language.

For visual c+ compiling, is there is a a way to determine an good why to find typo error.?
I've never used anything other than the Visual C++ editor.


Yeah, there are a lot of other editors out there, but they pretty much do the same thing as far as finding typo errors.





The Visual C++ editor does a good job at helping find mistakes,


though it can't find, or figure out every mistake you make, whether


intentional or non intentional.





One more comment.


If you make a mistake while typing a function, such as sprint instead of sprintf, the editor doesn't necessarily know that you have made a mistake, because you might have created a sprint function in another file. The complier doesn't know this until it is compiled.





I would suggest that you slow down and look at what you are typing, rather than having something else find your mistakes.


Plus, you can compile every once in a while and find the mistakes on your own, that way it will teach you to keep making the same mistakes.


Microsoft Visual C++ Runtime Library?

Runtime Error!





Program: ...gram Files\Sunbelt Software\Personal Firewall\assist.exe





This application has requested the Runtime to termination it in an unusual way. Please contact the application's support team for more information.

Microsoft Visual C++ Runtime Library?
http://www.sunbelt-software.com/Support-...





I think you need to call tech support and report a bug.


Miscrosoft visual c++ runtime error?

Please provide more description. According to what you have provided, I too get this kind of error on a professional photographic printing machine. The software is created in Microsoft Visual C++, and the problem is with some of the libraries.





It is not a syntax error and can't be detected at the compile time.





"Microsoft Visual C++ Runtime Library Runtime Error" error message after you install Office XP or an Office XP program


View products that this article applies to.


Article ID:307817


Last Review:February 16, 2006


Revision:3.5


This article was previously published under Q307817


WARNING:This information is preliminary and has not been confirmed or tested by Microsoft. Use only with discretion.


On This Page


SYMPTOMSSYMPTOMS


CAUSECAUSE


RESOLUTIONRESOLUTION


Method 1: Clean Boot with Only MoSearchMethod 1: Clean Boot with Only MoSearch


Method 2: Uninstall the Method 2: Uninstall the "Support for Fast Searching" Feature


MORE INFORMATIONMORE INFORMATION


SYMPTOMS


After you install Microsoft Office XP or one of the Office XP programs, you may receive one of the following error messages:


Microsoft Visual C++ Runtime Library Runtime Error! Program:.. C:\PROGRAM FILES\COMMON FILES\SYSTEM\MOSEARCH\BIN\MOSDMN.EXE abnormal program termination


Microsoft Visual C++ Runtime Library Runtime Error! Program:.. C:\PROGRAM FILES\COMMON FILES\SYSTEM\MOSEARCH\BIN\MOSEARCH.EXE abnormal program termination


Back to the topBack to the top


CAUSE


This behavior occurs if a program conflicts with the Mosdmn.exe and Mosearch.exe files.





The Mosdmn.exe and Mosearch.exe files are part of the "Support for fast searching" feature in Office XP. This feature is similar to the Find Fast feature in Microsoft Office 2000. Fast searching uses the Indexing Service in Office XP to create a catalog of Office files on your computer's hard disk.


Back to the topBack to the top


RESOLUTION


To resolve this issue, use the following methods, as needed, in the order presented.


Back to the topBack to the top


Method 1: Clean Boot with Only MoSearch


The Mosearch.exe (Microsoft Office Search Service) and Mosdmn.exe (Microsoft Office 10 Search Filter Daemon) Startup items may be conflicting with some other program (or programs) running in the background. Therefore, clean boot your computer with only MoSearch selected on the Startup menu to determine whether this program is the source of the conflict. To do this, follow these steps:


1.Click Start, and then click Run.


2.In the Open box, type msconfig.exe, and then click OK.


3.On the General tab, click Selective startup.


4.On the Startup tab, click to clear all check boxes except for MoSearch.





NOTE: In Microsoft Windows Millennium Edition (Me), leave the *StateMgr check box selected as well.


5.Click OK, and then click Yes when you are prompted to restart the computer.


6.If the error message can be reproduced, repeat the preceding steps. In step 3, also click to clear the Process System.ini file and Process Win.ini file check boxes.


If the error message cannot be reproduced, this indicates that MoSearch is conflicting with some other program or programs running in the background. Follow these steps to locate the conflicting program:


1.Click Start, and then click Run.


2.In the Open box, type msconfig.exe, and then click OK.


3.On the Startup tab, click to select one of the check boxes.


4.Click OK, and then click Yes when you are prompted to restart the computer.


5.If the preceding steps reproduce the error message, the last item added to the Startup menu is causing the conflict. If the error message is not reproduced, repeat these steps until all Startup menu check boxes are selected.


6.If all the Startup menu check boxes are selected and the error message is still not reproduced, start Msconfig again, and then click to select the Process System.ini file and Process Win.ini file check boxes.


If these steps don't help you find and eliminate the conflict, proceed to the following method.


Back to the topBack to the top


Method 2: Uninstall the "Support for Fast Searching" Feature


To uninstall the "Support for fast searching" feature from all Office XP products that are installed on your computer, follow these steps.





Note This applies only to computers that are running Microsoft Windows 98 or Microsoft Windows Millennium Edition.


1.Quit all Office programs.


2.Click Start, point to Settings, and then click Control Panel.


3.Double-click Add/Remove Programs.NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.





4.On the Install/Uninstall tab, click Microsoft Office XP product, where Office XP product is the name of the specific Office product in question. If you are using a stand-alone version of one of the Office programs, click the appropriate product in the list.


5.Click Add/Remove.


6.In the Maintenance Mode Options dialog box, click Add or Remove Features, and then click Next.


7.Click the plus sign (+) next to Office Tools, point to the icon next to Support for fast searching, and then click Not Available.


8.Click Update.


9.Repeat steps 2 through 8 for all other Office XP products installed on your computer.


10.Restart your computer.


NOTE: After you perform these steps, search for the Mosearch.exe and Mosdmn.exe files. You should not find them. If you do find them, you can safely delete these two files.

Miscrosoft visual c++ runtime error?
That can be for many things. It means that there is an error. (bug or error in coding)


Microsoft Visual C++ Runtime Library?

http://www.google.com/search?hl=en%26amp;lr=%26amp;r...


http://www.google.com/search?sourceid=na...

Microsoft Visual C++ Runtime Library?
You mean to use DLLs ?
Reply:Um, what about it?


Please be more specific.

sage

If I get Visual C++ 6.0 Pro from amazon. Is it still possible for me to register the product to Microsoft?

Or should I get a newer version

If I get Visual C++ 6.0 Pro from amazon. Is it still possible for me to register the product to Microsoft?
If you are going to be a professional programmer in life, obtain the newest software you can for free or at educational prices.





If you are going to program casually, don't buy VC++ 6.0. It'll just sit there and you will have spent more money than you should.





Download the express products. They are free


http://www.microsoft.com/express/
Reply:If you are the first-buyer, the license keys would get shipped to you.





So you would be able to register nicely





If you are not the first buyer ... then software resale et al are kind of slippery ground .. and often the license keys that get traded are not legit.


Plz suggest me the Best Book of Visual C++ for Beginner, I have Visual C++ Express 2008 Edition.?

Stroustrup B; the c++ programming language


Keyboard input in Visual C# windows applications form?

How can my program read a numerical value from the keyborad entered in a text box, assing it to a variable, and then display output in onther text box?

Keyboard input in Visual C# windows applications form?
{


string strnumber = "";


TextBox2.Text = "";


foreach (char cha in TextBox1.Text) {


if (char.IsNumber(cha)) {


strnumber = strnumber + cha;


}


}


int intnumber = strnumber;


TextBox2.Text = intnumber;


}








You could just add each character to the textbox, so instead of:


strnumber = strnumber + cha;


you could do


textbox2.text = textbox2.text + cha;





but you said you wanted to store the number as an variable.


I think thats what you wanted, else, ask again and ill try to help.





So like... da21s3as12asasdas would become 21312


What's the difference between Visual C++ 2008 Express and Visual Studio 2008?

If I'm not wrong, in the 2005 Express Edition you couldn't #include "windows.h" but I see that in this new version you can also program the Windows API. What's the catch here?


I can't seem to find the differences on the official site.

What's the difference between Visual C++ 2008 Express and Visual Studio 2008?
Visual Studio 2008 is the full version of the full studio ( more then one program).


Visual C++ is just one of the programs you can get in Visual Studio. (Also Visual Basic , Visual C# and others).


Express is a cut down version of the full program (more features) The program still works, just you have to code more, where as the full version probably has some shortcuts to help you.

alstroemeria

Which is easier, Visual C# or Python?

I've got a choice to make. Computer Science is just my minor, so I would rather just take the easier courses and get everything over with.

Which is easier, Visual C# or Python?
Look at how you write the most basic program "hello world" in C#:





public class Hello1


{


....public static void Main()


....{


........System.Console.WriteLine("hell... world");


....}


}





And now look at how you write the same program in Python:





print "hello world"





Python is flexible; you can write object oriented code, or procedural or functional code. You don't need brackets or braces ({}). For many reasons I would say that Python is easier.





I recently learned Python and put links to resources that I found helpful up on my webpage:


http://www.homeworkcat.com


Somebody solve this visual c++problem for me.. thankyou very much!!?

TerriTown is a fictitious town populated by a race that looked like aerolanes. You are to develop a program to allow users to keep track on the inhabitants in TerriTown. An inhabitant should contain the below data:





• IIP : 10 characters


• Name : 30 characters


• DateOfBirth :date format


• Height :float type


• Weight :float type





Create a class called Inhabitant that contain the above attributes. The class should contain also constructor, mutator(set) and accessor(get) methods.

Somebody solve this visual c++problem for me.. thankyou very much!!?
class Inhabitant


{


public:


char IIP[10] ;


char Name[30];


int DateOfBith;


float Height;


float Weight;


}


Inhabitant::Inhabitant()


{


// Initialize variables (This is constructor)


}


float Inhabitant::GetHeight(void)


{


return Height; //Accessor


}


void Inhabitant::SetHeight(float NewHeight)


{


Height = NewHeight; // Mutator


}


// Then just add accessors and mutators for all the other variiables.
Reply:Start it with your class, and show us. Maybe we can help, rather than do your homework for you.
Reply:If you are still stuck may be you can contact a C++ expert live at website like http://askexpert.info/ to help you code your project assignment.


ASCII values on Visual C++?

what is the typecast/ command for finding the ASCII values on VC++

ASCII values on Visual C++?
1)casting: always works.


char a='A';


int b=(int)a;


2)Only for chars and integers this works:


char a='A';


int b=a;


3)even this works:


char a=128;





I know in some low level languages(like pascal) there are functions to do this, but not in C/C++
Reply:its very easy to find ascii value,get value from char,and print it into int.


like


char a='A';


printf("Ascii value of %c is %d",a,a);


Which is the best Visual C++,C#,C.net Basic or java?

What do you mean by "best"?





Go with C# if...


1) you want to build windows programs, websites, database driven applications





Go with Java if...


1) you like what you just read about C# and,


2) you are willing to accept that your programs will run slow


3) you disike like Microsoft





Go with C++ if...


1) you want to write real-time systems such as flight controls, weather radars, graphics-intensive 3D video games, etc


2) are patient enough to deal with a very big learning curve before your are competent in it.





If you're looking for a career in one of these languanges that will offer lots of demand then C# is your best bet

Which is the best Visual C++,C#,C.net Basic or java?
C++ is the best if you want efficiency/speed, if you want ease of programming, Java tops the list
Reply:There is not a single best language in programming language, that is what I always said, as there is no best language in the world. English, Chinese, Japanese, Korean, Malay, Spanish, etc they all have their pluses and mins.





C++ is a language that is very powerful, yet it's learning curve is very steep.





C# is an easier version of C, but the code won't run as fast as the original C and C++.





C.net is slow to run, just like java-based program (basically because both uses Intermediate Language), and even worse, it isn't cross platform. But it (perhaps) have bright future.





Basic is an easy to learn and use language, yet it is still very powerful enough to make almost all program that you can think of. Basic perhaps is the best language to make quick and dirty program. It's code however is not as fast as C but faster than Java and .NET (except for VB.NET version where VB is as slow as the othere)





java is the only code here that guarantees that a code made with this language will run cross-platformly without any code modification and yet still one of the most powerful language. Java code, however is slow to run.
Reply:To ease of use .Net i.e., Visual studio .Net is the best as it has lots of user friendly interface and it reduces some amount of the work for you.





check it out!!!
Reply:Its JAVA...u can check this book "the complete reference java"

primrose

Visual C++ problem - DownloadStringAsync Result property?

I need to access the 'Result' property of 'DownloadStringAsync' so I can access the downloaded String.I have tried everything but I can't get the syntax right for accessing the Result property.The code I have written so far is shown below.When 'button 2' is clicked the web page is downloaded. It works fine so far.





private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {





Uri^ strName = gcnew Uri("http://www.yahoo.co.uk");


webClient1-%26gt; DownloadStringAsync (strName);


}





Please can you tell me what code I will have to add to this to transfer the downloaded String from the Result property to a String variable.

Visual C++ problem - DownloadStringAsync Result property?
It looks like the Result is a property of


DownloadStringCompletedEventArgs.





So you need add this as your webClient1


DownloadStringCompleted event handler:





private static void DownloadStringCallback2 (Object sender, DownloadStringCompletedEventArgs e)


{


// If the request was not canceled and did not throw


// an exception, display the resource.


if (!e.Cancelled %26amp;%26amp; e.Error == null)


{


string textString = (string)e.Result;





Console.WriteLine (textString);


}


}


Visual C# question?

there is a logical error in my if statement





if (quantity %26lt; 20)


{


unitPrice = 20;


if (quantity %26lt; 50)


{


unitPrice = 15;


}


if (quantity %26lt; 100)


{


unitPrice = 12;


}


if (quantity %26lt; 500)


{


unitPrice = 8;


}


}


else


{


unitPrice = 5;


}

Visual C# question?
The corrected code.





if (quantity %26lt; 20)


{


unitPrice = 20;


}


else if (quantity %26lt; 50)


{


unitPrice = 15;


}


else if (quantity %26lt; 100)


{


unitPrice = 12;


}


else if (quantity %26lt; 500)


{


unitPrice = 8;


}


else


{


unitPrice = 5;


}
Reply:In your example unitPrice will always end up as 8.





Why don't you use the switch statement?





switch (quantity)


{


case %26lt; 20:


unitPrice = 20;


break;


case %26lt; 50:


unitPrice = 15;


break;


case %26lt; 100:


unitPrice = 12;


break;


case %26lt; 500:


unitPrice = 8;


break;


default:


unitPrice = 5;


break;


}





Edit: OK - you can't do this, you can only use constants in the case statement. Sorry, you will have to use the if-then statement, but in reverse.





unitPrice = 5;


if (if (quantity %26lt; 500) {


unitPrice = 8;


}


if (quantity %26lt; 100) {


unitPrice = 12;


}


if (quantity %26lt; 50) {


unitPrice = 15;


}


if (quantity %26lt; 20) {


unitPrice = 20;


}
Reply:yes:





I am not confident with my VC# syntax, but your problem lies in your if statement.





Basically you are currently saying:


if x %26lt; 20 then ... if the same x %26lt; 50 then ...





Try something like this:





unitPrice = 5;


if (quantity %26lt; 20)


{ unitPrice = 20;}


if (quantity %26lt; 50)


{ unitPrice = 15; }


if (quantity %26lt; 100)


{ unitPrice = 12;}


if (quantity %26lt; 500)


{ unitPrice = 8;}


Will a visual c++ compile c programs?

Generally, yes. C++ is based on C; anything legal in C is still legal in C++.

Will a visual c++ compile c programs?
Yes. C is a subset of C++. Or more properly, C++ is a superset of C.
Reply:yes it will


Visual C++ computer programming help please!!1?

Hello, Im a bio majore that for some reason is being forced to take computer programming. IT sucks, I really need help on this program so please help me if you can it would be really greatly appreciated. This isi our assignement


Write a program to convert between yards and meters. Your solution must utilize functions to perform the conversions. Your functions must meet these requirements:





One of the functions must use pass-by-value, returning the converted measure


One of the functions must use pass-by-reference to store its result (the function does not have a return value).


Your program must create two tables - one showing the yards equivalent to meter measures from 0 yards to 100 yards (by 5 yard increments: 0, 5, 10, . . . , 100) and the other showing meters equivalent to yards measures 0 through 100 (by 5 meter increments: 0, 5, 10, ... , 100). Original measures are all integer values. Calculated measures are to be displayed accurate to two decimal places.


The output for both tables must fit on one default screen (79 columns by 23 rows), so your tables will need to be organized into multiple columns. Everything must be lined up nicely and the tables neatly and informatively labeled. This assignment can be done with a single file. It is not necessary to define any classes.

Visual C++ computer programming help please!!1?
%26gt; IT sucks





Wow, Jenn, you really do know how to charm us IT guys into helping you. ;-) But you're right in one area: it's ridiculous that a bio major would have to learn how to program in C++. They don't require us Comp Sci majors to dissect a frog.





Unfortunately, I don't feel like writing a program right now (I've been procrastinating all night and it's time I go do something useful) but I'm sure someone else will help you.





Good luck!

queen of the night

Is c++ same to visual c++ in the way the languaje works?

Yes same thing, the only difference is the visual c++ is an IDE (people refer it to the Microsoft IDE with its own set of libraries)





So thus, Microsoft C++ Libraries intact

Is c++ same to visual c++ in the way the languaje works?
Microsoft Visual C++ comes with a special framework library (MFC) for writing windows applications. It can be a pain to work with if you just want to use libc++ or stdlibc++.


Visual C# 2005 start page question?

I have some unwanted projects listed on the start page. How do i delete them? I've already deleted the files on the hard disk, but it's still shown on the start page.

Visual C# 2005 start page question?
just click on the project and if VS can't find it, it will ask if you want to remove it from the list.


Visual C++ computer help. Decent help gets 10 pts?

I am a bio major that understands nothing of computer programming. It is a requirement for my degree. So if you could please help it would be greatly appreciated.


Write a program to generate five random cards from a deck of playing cards. Have at least two classes (a) a Card class containing the suit and denomination as data members (two files - the .h file and the .cpp file), and (b) a Hand Class containing are array of cards as a data member (two files - the .h file and the .cpp file). There would be a fifth file with the main function. There are 52 cards in the deck. For each card you could generate the card by either of two methods:





Method 1: Generate two random numbers for each card. The first would be between 1 and 4 for the four suits and the second random number would be between 1 and 13 for the denomination in the suit.


Method 2: Generate a random number between 1 and 52. Once that number is generated have the first 13 numbers represent Spades, the next 13 for Hearts, the next 13 for Diamonds and the last 13 for Clubs. The 13 numbers in each category would represent the denomination of the card.








Use random number generation


The numeric values used are generating the card could be either method mentioned above


Make certain that you assure that all five cards are unique


Output the five values of the card.


(e.g. The five cards are: 4 of Hearts, 3 of Diamonds, Jack of Hearts, Ace of Spades, and 7 of Clubs.)

Visual C++ computer help. Decent help gets 10 pts?
That is lot of work, may be you can contact a VC++ expert at websites like http://askexpert.info/ to help you code your project assignment.
Reply:Aren't you going to write just a little bit of code? ... so we can help you rather than do your work for you?


Visual C++ data types and their lengths?

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

baby breath

Visual C# Question.?

How would I get text from a textbox onto a webBrowser or something like, that and keep the first(second + ect) entry, kind of like a messagebox but in the same form. Acting like an instant messaging program. You enter text and appears on the form(I don't know what you use) then you type some other stuff and stays on the form and keeps going on.

Visual C# Question.?
Grab the text from the textbox.





Use a second textbox to display the list.





When the user clicks submit do something like:





listTextBox.Text += inputTextBox.Text;





or if you wan't them to appear in reverse order:-





listTextBox.Text = inputTextBox.Text + "%26lt;BR%26gt;" + listTextBox.Text;


VIsual C++ computer programing please help me?

Hello, Im a bio majore that for some reason is being forced to take computer programming. IT sucks, I really need help on this program so please help me if you can it would be really greatly appreciated. This isi our assignement


Write a program to convert between yards and meters. Your solution must utilize functions to perform the conversions. Your functions must meet these requirements:





One of the functions must use pass-by-value, returning the converted measure


One of the functions must use pass-by-reference to store its result (the function does not have a return value).


Your program must create two tables - one showing the yards equivalent to meter measures from 0 yards to 100 yards (by 5 yard increments: 0, 5, 10, . . . , 100) and the other showing meters equivalent to yards measures 0 through 100 (by 5 meter increments: 0, 5, 10, ... , 100). Original measures are all integer values. Calculated measures are to be displayed accurate to two decimal places.


The output for both tables must fit on one default screen (79 columns by 23 rows), so your tables will need to be organized into multiple columns. Everything must be lined up nicely and the tables neatly and informatively labeled. This assignment can be done with a single file. It is not necessary to define any classes

VIsual C++ computer programing please help me?
If you still need help you may contact a C++ expert at websites like http://askexpert.info/
Reply://here is a starting point


//figure out how to change the printfs to using cout...





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





//conversion factors


float y2m=1.09361329834


float m2y=0.9144





main ()


{


int i;


float yards, meters;





for (i=5; i%26lt;=100; i=i+5)


{


yards=getyards(i);


printf("%d meters = %3.2f yards\n",i,yards);


}


for (i=5; i%26lt;=100; i=i+5)


{


getmeters(i,%26amp;meters);


printf("%d yards = %3.2f meters\n",i,meters);


}


} //end main





float getyards(int x)


{


return (x*m2y)


}





void getmeters (int x, float %26amp;m)


{


*m=(x*y2m);


return()


}
Reply:its easy.


Start with


three integers.


then create a switch statement to display a message to convert from yard to meter or meter to yard.


User enters choice. Then uses function to calculate it.

clear weed

Visual C# Question.?

How would I display a messagebox or error event if I have a textbox with a button and a webBrowser on my form and the button was clicked with no text to navigate to the webBrowser. Would I use an if/else statement and if I did need that how would I do it.

Visual C# Question.?
if (textBox1.Text = "")


{


MessageBox.Show("No URL");


}


else


{


//Navigate to URL


}


Visual C++ developers... Please helppppppppppp?

How to control or change the entire size of a window in MFC? I really want to make sure that when user clicks fullscreen button, the entire screen is covered and there are no white borders on any sides of the window. White borders makes my application dirty. Please help...

Visual C++ developers... Please helppppppppppp?
So TRUE Full-Screen you are trying to achieve....wow, there is something i never attempted with C++ before (how odd, you'd think after the stuff i've done). You could resize the window where when you get the WM_WINDOWPOSCHANGING (or whatever it was called..sorry i am not infront of my dev machine now) then you modify the window's x,y start position and the width and height to expand outside the visible region i.e., use -50,-50 for x,y -- if you want to be precise then you'd have to request from windows what the size of the form's non-client regions are and from there use that to subtract from the x,y which will put it off-screen precisely, and you'd expand the width, height by the additional amount + extra that represents its non-client region border....Come to think of it now, i guess i have done this before, just indirectly....





But if you're really ambitions you could get the Desktop window's HWND and from their draw directly to the screen after your window has gone full-screen..this way you can write anwhere on the screen...of course, this is more work than necessary so...


Visual C# Question: how do I make a button display words from textboxes?

I want to take words from textboxes and display the content in a seperate window when I click a button. (like messageBox.Show)

Visual C# Question: how do I make a button display words from textboxes?
on a form with txtBox1 and button1


the button1 click event:





private void button1_Click(object sender, EventArgs e)


{


MessageBox.Show(txtBox1.Text);


}
Reply://Answer:


Private Void()


{


msgbox(textbox1.text);


}


}


Visual C++, is it easy to use?

Advanced stuff...no way!!

Visual C++, is it easy to use?
easy to use hard to learn

peacock plant

Visual C++: How do you return multiple types?

I want main() to repeatedly calls a function called getToken().


I want getToken to read the next token in the input file, and then return to main() the token type, the actual string (lexeme) of the token.





The token type is an integer (1, 2, 3, whatever) and the string is, well, a string.





How can I make getToken() return both an int and a string?

Visual C++: How do you return multiple types?
Use somethiing like:





int getToken (char **tokString)


{


int retvalue;


char *str1;





//code in here to assign str1 to the token string and retvalue to token type





*tokString = str1;


return retvalue;


}





Your calling function would look something like this.





char *str; (declare it, don't define it)


int toktype;


toktype = getToken(%26amp;str);





I used to use this all the time in my Visual C++ code (actually replace char with TCHAR). It's a lot better than using a struct.





But watch for memory leaks.





===





You could also make the integer a pointer in the argument, of course.





In fact, you can return as many variables as you want as function arguments, if you do them as pointers. Just be aware of memory leaks (again) and scope.





Hope this helps.
Reply:I don't think template will help u, because string is not a basic data type.


why dont u just read all inputs as string and then in the main (or any function), check if it is string or number. According to result of that check, use atoi(char *) function to get the integer value of the string.
Reply:C++ standard library has a template called "pair".





#include %26lt;utility%26gt;





using namespace std;





pair%26lt;TokenType, string%26gt; getToken() {


....


pair%26lt;TokenType,string%26gt; p(TYPE1,"something");


return p;


}





The contents can be retrieved with data members .first and .second. "pair" is basically a struct, as suggested by previous anwers. Just you do not need to define it yourself.





see http://www.unc.edu/depts/case/pgi/pgC++_...
Reply:read about --templates---....


the solution could be something like that:





template%26lt;class TT%26gt;


TT getToken()


{


TT retValue;


//..........


return retValue;


}





void main()


{


int t = getToken%26lt;int%26gt;();


char c = getToken%26lt;char%26gt;();


//..... goodLuck


}
Reply:Create a struct -





struct Foo


{


int zint;


char* zstr;


};





Then use it like this -





Foo temp;


temp.zint = 1;


temp.zstr = "test";


Visual C++ runtime Error?! what is this?

Everytime i try and play a game, this message appears. any advice on how i can fix this?

Visual C++ runtime Error?! what is this?
It means that the program flow is not correct. Probably you need to install something else. It could also mean that some program was not installed correctly. The possibilities are large.


You just have to track it down by checking what is installed and going from there.


Will a visual c++ compiler compile c programs?

Yes. C++ is still a superset of C, no matter how many times you ask.

Will a visual c++ compiler compile c programs?
As on the other instance of this question: Yes. C++ is based on C; anything legal in C is still legal in C++.





Edit: Lisa A-- You caught that too, huh?
Reply:Yes. Create a simple C program and run it. It should work.


// Visual c++ int n = 2.05 * 100; Why is n == 204 ???

int n = 2.05 * 100;





Execute the above and tell me why MS VC++ works this way.


Thanks,


Brian....





Typecasting doesn't improve anything..


I've used the following work around.





int integer(double dbl)


{ double smn = 0.00000000000005;


return((int)(dbl + (dbl %26lt; 0 ? -smn : smn)));


}





Is this a good idea?


Thanks again,


Brian...

// Visual c++ int n = 2.05 * 100; Why is n == 204 ???
its because "int" is only a whole number, no fractions allowed. you need to change "int n = 2.05*100;" to


"float n = 2.05*100;".
Reply:y sure 2.05 is not actually 2.05 it will be in fraction 2.046789 or 2.049999 when it will in register so when we mul with 100 we gat int 204
Reply:I belive this is due to what is known as bankers rounding in the long standing Microsoft Visual Studio Languages.





try to round off the number to zero places behind the decimal.





That is usually a good workaround.

pink

Visual C++ 2008 Express, building a project?

Help, I just downloaded this and made a simple test application with the form tools and all, for Win32. Well, when I click build I get this in the message box on the bottom:





Linking...


LINK : fatal error LNK1561: entry point must be defined





What does it mean? It doesn't builds the application either. Help please!





Oh another question, how would I get the contents of a text box? And how would I create an information window?

Visual C++ 2008 Express, building a project?
hmh, this could have many reasons. but for me it sounds like a syntax-error.





but the question is, what for an project do you create? and on which os (and for what for an output platform) did you compile 'em?





greetz mhb





have a look on this weblink:


Whats the difference ? MS Visual C++ Express vs. MS Visual C++?

The express versions of the various micosoft DEs (Development Environments) are good for people who want to learn to use a language rather than develop real code.





You can download copies from the Microsoft Website.





The main disadvantage is you can't download old versions, to go along with text books and so on. However at school or university this is what you are likely to use when you write the code.





Main problem is they lack various essential elements to make fully fledged applications for development. They also lack other features as well.

Whats the difference ? MS Visual C++ Express vs. MS Visual C++?
C++ Express is a free IDE where you can code C++ programs, but it doesn't have a whole lot of features in it.





Visual Studio Professional has a lot of features which can help aid in development, but costs a bit of money.


Visual C# question?

I have a MDI child form with a RichTextBox, on the KeyDown event of the RichTextBox I want to display the current line number on a ToolStripStatus label, that is located on a StatusStrip on the PARENT form.





my question is: how to make a reference to the parent form so I can change the Text property of the label





if i do





Form1 theParentForm = new Form1();





i create another object, and i can modify its properties, but not the original form

Visual C# question?
Normally this sort of reference passing would happen in the constructor. But since you make be working with a pre-defined constructor, you'd have to manually set it.





You'll need to extend the Form class for your child window class, if you're not already. You'd do it like this:





class ChildForm : Form


{


// Then, inside this new class, have a variable like this:


private Form1 parentForm = null;





//...and a method like this:


public void SetParentForm(Form1 refParentForm)


{


parentForm = refParentForm;


}


}





After you create the child form, also call this new method (from within the parent form code):





E.g.


ChildForm childForm1 = new ChildForm();


childForm1.SetParentForm(this);








Next, in order to access the toolstrip on the parent form, you'll earlier need to make the statusStrip public (which violates Object-Oriented encapsulation -- i.e. bad idea), or make a public method which sets the statusStrip for you:





E.g. (in ParentForm)





public void SetStatusStripText(string text)


{


statusStrip.Text = text;


}








Finally, in your click event of the child form:


{


parentForm.SetStatusStripText( ....line number.... );


}





Cheers.


Visual c# message box help?

can someone please help me with message box buttons.. i have a message box with 3 buttons, yes no cancel. how do i make my button do different functions, like for example i click yes and my form exits.?? does anyone know the code for this%26gt; thank you

Visual c# message box help?
Try this example

periwinkle

Is Microsoft Visual C++ Studio compatible with just C programming?

You might have to be careful what you select when creating a new project, but I'm sure it can handle regular C or C++ code. (Though if you don't need all the extra Visual Studio stuff there are free C/C++ compilers out there, like Dev-C++ which uses a Windows port of GCC, the GNU Compiler Collection.)





http://www.bloodshed.net/devcpp.html

Is Microsoft Visual C++ Studio compatible with just C programming?
Yes. You can create C or C++ with the compiler. It'll know which you're using based on the file extension (.c or .cpp) or from the comiler settings.


Saturday, May 22, 2010

Visual C++ prog experts help!!!?

I created an application (for fun) and one of my objectives there is to make a mouse pointer disappear if mouse is not move for a specific period of time. I managed to create this one successfully just using WinAPI but I don't know how to convert it to MFC





Assuming that you are starting to create a simple window application with no user interventions or whatsoever...


1.) Where will I place the setTimer?


2.) In WinAPI, I placed all necessary codes like setTimer and the GetCursorPos() in WinMain and compared mouse current position and mouse old position inside LRESULT CALLBACK WndProc(...) function. How will I interpret it in MFC???





Please help....

Visual C++ prog experts help!!!?
If this is a dialog based application you can create the timer in the OnInitDialog method. In the timer method you can use the GetCursorPos method just as you did previously.


Is it visual C? or just C?

and where would i donwload the builder and compiler from?

Is it visual C? or just C?
Visual C++ is a Microsoft product that provides a nice IDE for developing applications. It can follow standard C++, however, it typically builds code that is only compatible in with the Visual C++ compiler. Microsoft has a free version called Visual C++ Express Edition that can be found at:





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





Jeff


http://www.excellentiasoftware.com
Reply:C/C++ is a standard programming language. GNU C (gcc) is a free compiler for it.





Visual C++ is a Microsoft creation. I've never used it, and I couldn't tell you how similar they are.


Visual C++ programmers... Please help...?

I am using MFC in making a simple window. My main objective is to make mouse pointer disappear when it reaches 4 seconds. I solved it myself using the Win32 API but in MFC, I find myself stuck in setting up the time...





I surfed the web and found out that I have to use OnStartTimer, OnStopTimer and OnTimer and also by using the SetTimer... but when I tried to call any of these three functions e.g. OnStartTime... my compiler cannot recognize all above-stated functions... I tried to re-intialized them in class, though it creates no error and ran, but all timers that were set failed to perform there duties...





I am not asking or begging you for the entire codes or write the codes to supply my needs... I just want the idea or your own approach to my problem...





I am already out of ideas and can't think of any ways to solve the problem...





Please... anyone... help... :(

Visual C++ programmers... Please help...?
SetTimer is a member of the window class, so make sure you call it from inside a CWnd-derived object such as your view class (it causes a WM_TIMER message to be sent so you need a window to receive it. In that same window override the WM_TIMER handler (i.e. OnTimer) to catch the message then call SetCursor or whatever to disable the cursor.





Another technique is to use a worker thread, this will allow you to run your own function in a custom thread without holding up the main thread and causing your program to freeze. Your worker thread should go to sleep for the 4 seconds so that it doesn't tie up the CPU doing nothing, so do something like this:





UINT MyThreadProc(LPVOID pParam)


{


Sleep(4000); // 4000ms == 4 seconds


s_pMyWindowPtr-%26gt;SetCursor(NULL); // or whatever


return 0;


}





Kick off this function by calling AfxBeginThread, you'll need to change your project settings to link in the multithreaded MFC libraries. This page has more info about creating worker threads:





*** UPDATED ***





You don't call OnTimer yourself, Windows calls it and you need to catch it by implementing the message handler and adding an entry to the message map. It's been years since I've used MFC, so I'm a bit hazy on the interface specifics, but if you open up your window and go to its properties then you'll have a list of all functions that you can overload. OnTimer will be one of them, I think you can double-click on it or something to have DevStudio automatically create the function for you and add the message map entry.





If you're still stuck then post again here and I'll dig out some code for you from my old archives.
Reply:Did you put an entry for ON_WM_TIMER() in your message map? It needs that for OnTimer to be called.





BEGIN_MESSAGE_MAP(mainWindow, CFrameWnd)


ON_WM_TIMER()


END_MESSAGE_MAP()

night blooming cereus

Visual C# programming help?

I created a program that takes a phone number and divides it into three parts (AAA) EEE - NNNN. I need it to give a default area code if the user doesnt enter one. Heres what I have so far.





private void btnValidate_Click(object sender, EventArgs e)


{


//declare phone number


string phoneDigits;


string exchange;


string areaCode;


string number;





phoneDigits = txtNumber.Text;





areaCode = phoneDigits.Substring(0,3);


exchange = phoneDigits.Substring(3,3);


number = phoneDigits.Substring(6,4);


txtA.Text = areaCode;


txtE.Text = exchange;


txtN.Text = number;


}


}


The program should also accept AAA.EEE.NNNN as a valid phone number, too. (That is, the separation character between the area code, exchange, and number can be either a hyphen or a period.) If the number entered does not fit this format, you should issue an error message that asks them to re-enter the phone number.

Visual C# programming help?
I'd study regular expressions to help you determine the validity of the strings. There are many online tools that help you evaluate strings with this standard approach.





Query: "Regular Expression Telephone Number"


Visual C# Question: How do I use a button to lead to another form?

Like an installation wizard, for example. You have a window that pops up(Form1), there is a next button. The next button leads to another form(Form2). Asking where to install a file. Choose where to install, then click install. After it writes all the files from your installation program, it notifies you in the same window(Form3) that installation has completed. There is a button to close the wizard, everything is completed.





I know all those button commands, al I need to know if how to advance to another window or Form using the same size as the first one. Thanks!

Visual C# Question: How do I use a button to lead to another form?
Wizards are displaying one 'form' and switching the content pages. You can accomplish that on your form by changing the "Visible" properties of the elements on the form. Use a GroupBox to link elements together and show or hide the GroupBox.





It is easy to open a new form in the same spot and same size as the existing form, but better to simply switch the content in the current form. So, the Next button doesn't actually open another form. The code for opening a new form is simple:





Form myForm = new FormWhatever();


myForm.Show(); //or ShowDialog();


Visual C# code assistance?

here is my code below, on my form I have 3 textboxes and a button, what is the code to convert the value entered in a textbox to an integer, here is my error





quantity = (int)(txtQuantity.Text);





int quantity;


decimal unitPrice;


decimal totalPrice;





quantity = (int)(txtQuantity.Text);





// The price of one CD will depend on the number ordered


// The more the customer orders, the lower value for each


if (quantity %26lt; 20)


{


unitPrice = 20;


if (quantity %26lt; 50)


{


unitPrice = 15;


}


if (quantity %26lt; 100)


{


unitPrice = 12;


}


if (quantity %26lt; 500)


{


unitPrice = 8;


}


}


else


{


unitPrice = 5;


}


tota

Visual C# code assistance?
int quantity = Int32.Parse(txtQuantity.Text);


Visual c++ computer programming help please!?

Hello, Im a bio majore that for some reason is being forced to take computer programming. IT sucks, I really need help on this program so please help me if you can it would be really greatly appreciated. This isi our assignement


Write a program to convert between yards and meters. Your solution must utilize functions to perform the conversions. Your functions must meet these requirements:





One of the functions must use pass-by-value, returning the converted measure


One of the functions must use pass-by-reference to store its result (the function does not have a return value).


Your program must create two tables - one showing the yards equivalent to meter measures from 0 yards to 100 yards (by 5 yard increments: 0, 5, 10, . . . , 100) and the other showing meters equivalent to yards measures 0 through 100 (by 5 meter increments: 0, 5, 10, ... , 100). Original measures are all integer values. Calculated measures are to be displayed accurate to two decimal places.


The output for both tables must fit on one default screen (79 columns by 23 rows), so your tables will need to be organized into multiple columns. Everything must be lined up nicely and the tables neatly and informatively labeled. This assignment can be done with a single file. It is not necessary to define any classes


1 day ago - 2 days left to answer.


Report It

Visual c++ computer programming help please!?
Seriously, this is an incredibly easy problem. Just use your textbook and educate yourself.

orchid cactus

Visual C++ compiling problem?

I found out how to make a class/struct/union type like "IDD_Cbtncount_Dlg::IDC_CEdit_Display" I try to use this to invoke a property, but when it compiles it says "Syntax error 'semicolin needed before two colins'" I can put a million semicolins in and I still get this. Can you help?

Visual C++ compiling problem?
You'll need to look the code before this function to check is a semicolon is missing or if there is another problem with the code ( which is most likely ).


Visual c++ help please!!! computer programming?

How do i change the printfs to using cout... ?????





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





//conversion factors


float y2m=1.09361329834


float m2y=0.9144





main ()


{


int i;


float yards, meters;





for (i=5; i%26lt;=100; i=i+5)


{


yards=getyards(i);


printf("%d meters = %3.2f yards\n",i,yards);


}


for (i=5; i%26lt;=100; i=i+5)


{


getmeters(i,%26amp;meters);


printf("%d yards = %3.2f meters\n",i,meters);


}


} //end main





float getyards(int x)


{


return (x*m2y)


}





void getmeters (int x, float %26amp;m)


{


*m=(x*y2m);


return()


}

Visual c++ help please!!! computer programming?
Use "cout.precision(4)" giving you 4 digits of precision (which includes before and after the decimal). If you want it to mean just after the decimal, then also use "cout %26lt;%26lt; std::fixed".





You can set the field width with "cout.width(6)". To summarize, to do the same thing as %3.2f:





cout.width(6);


cout.precision(4);


cout %26lt;%26lt; std::fixed;


cout %26lt;%26lt; x %26lt;%26lt; endl;





Note that to cancel "std::fixed" you need to do this:





cout.unsetf (std::ios_base::floatfield);
Reply:I haven't used cout in ages, but I believe you would just say





cout%26lt;%26lt;i


cout%26lt;%26lt;" meters ="


cout%26lt;%26lt;yards





Not sure about how to do the %3.2f formatting. Also, I believe you can string them together





cout%26lt;%26lt;i%26lt;%26lt;"meters ="%26lt;%26lt;yards%26lt;%26lt;endl





endl - new line
Reply:#include %26lt;stdio.h%26gt;





//conversion factors


float y2m=1.09361329834


float m2y=0.9144





main ()


{


int i;


float yards, meters;





for (i=5; i%26lt;=100; i=i+5)


{


yards=getyards(i);


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


}


for (i=5; i%26lt;=100; i=i+5)


{


getmeters(i,%26amp;meters);


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


}


} //end main





float getyards(int x)


{


return (x*m2y)


}





void getmeters (int x, float %26amp;m)


{


*m=(x*y2m);


return()


}


Visual C++ Programmers help...!!!!...?

I have created a mini application (just for fun).


My main objective is that when application is in fullscreen, timer starts counting in seconds until it reaches 4 e.g. for every four seconds, mouse pointer will disappear and will appear again when mouse is moved.





I am using MFC. My problem is that when I use the predefined function OnFullScreen(BOOL bFullScreen) and bFullScreen was already set to true, and when I run the application, mouse pointer still remains on the screen when reaches 4 seconds.





My code for OnFullScreen is this:





void MyView :: OnFullScreen(BOOL bFullScreen)


{


// I also tried if statements for this... and still it doesn't work


switch(bFullScreen)


{


case true: MessageBox("Sample Test", "Check", MB_OK);


break;


default:


MessageBox("is not true", "Check", MB_OK);


}





Please help. I assure you that when I am satisfied with your answer, I will give you the credits by choosing you as the best answerer...


Thanks and God Bless

Visual C++ Programmers help...!!!!...?
How do you hide the pointer ?





ShowCursor(FALSE) must hide the mouse pointer:





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





The message box that you show may be messing it up. You may also want to set Window's class cursor:





SetClassLong(m_hWnd, GCL_HCURSOR, NULL);





This changes Window class cursor and helps prevent the system from changing it when the mouse is moved.


Visual C++ WindowsShellProgramming eBook needed?

Hi,


I need Vc++ windows shell programming book. i found one on the web but that is damaged. I request you to please send me the e book to my mail id. appreciate your help in this regard.


Thanks,


Srinivas

Visual C++ WindowsShellProgramming eBook needed?
try the ebooks in the site www.ebookshare.net

palm

Visual C + + Runtime Error! iexplorer.exe - On Windows Vista. Please Help!?

I am really clueless about my laptop, and today it won't let me upload photos to a particular website. It tells me there is a runtime error and that runtime wants to terminate the program in an unusual way. I don't have any toolbars installed, so that isn't the problem. Can anyone suggest anything???

Visual C + + Runtime Error! iexplorer.exe - On Windows Vista. Please Help!?
Its probably either the site is having problems or IE got corrupted.





If you want to try to reinstall IE, go into Control Panel %26gt; Add or Remove Programs %26gt; Add/Remove Windows Components. Uncheck IE. Go through all the steps to remove it. Go back into Add/Remove Windows Components. Re-check IE and let it install again.


Visual c++ computer program please help me?

Ive been sick, and really need help with this assignmen PLEASE?


Write a program to convert between yards and meters. Your solution must utilize functions to perform the conversions. Your functions must meet these requirements:





One of the functions must use pass-by-value, returning the converted measure


One of the functions must use pass-by-reference to store its result (the function does not have a return value).


Your program must create two tables - one showing the yards equivalent to meter measures from 0 yards to 100 yards (by 5 yard increments: 0, 5, 10, . . . , 100) and the other showing meters equivalent to yards measures 0 through 100 (by 5 meter increments: 0, 5, 10, ... , 100). Original measures are all integer values. Calculated measures are to be displayed accurate to two decimal places.


The output for both tables must fit on one default screen (79 columns by 23 rows), so your tables will need to be organized into multiple columns. Everything must be lined up nicely and the tables neatly and informatively labeled. This assignment can be done with a single file. It is not necessary to define any classes.

Visual c++ computer program please help me?
Aah, there's Jenn AGAIN.





Eight questions she posted, ALL about her C++ homework assignments. NEVER has she answered a question. NEVER has she selected a best answer to her previous question.





Can she spell L-A-Z-Y ?


Are there sample C++ or Visual C++ game programs out there that I can pick apart and learn?

Where can I find them?

Are there sample C++ or Visual C++ game programs out there that I can pick apart and learn?
since you use Windows, surf to : http://www.microsoft.com/express/gamedev...


and you will find info, sdk and samples for your purpose.


Bye


Would Microsoft Visual C++ be good for a beginning 14 year old interested in game design?

That's going to depend on a bunch of things. I presume when you say "beginning" you mean "never programmed a computer before".





In that case, it's going to be rough. C++ is not for the feint of heart.





But if the 14-year-old in question is smart and will stick to it, then C++ is a good environment to use.





Java would be another good choice and perhaps easier to learn.





If I were going to write games, I'd use Eclipse (www.eclipse.org). It's free. And I'd write either in C++ or Java depending on my mood and target platform.

Would Microsoft Visual C++ be good for a beginning 14 year old interested in game design?
Yes, it would. You have to go through a lot of basics, but eventually you will get it.
Reply:Yes and no.





The C-family is on par with most game-scripting environments.





But...before learning anything C, I would recommend learning the basics of VB. Things like loops, arrays, functions...things that are really the basics of ANY language...they are just easier to learn in Visual Basic (at least, they were for me...).





Of course, if you are a wiz with all this stuff already, by all means go out and get yourself into C.





Best of luck to ya. Starting early like this is definately something I wish I would have done..
Reply:You should learn programming first. Learning a language before you learn programming creates bad habits. Like anything, getting good at programming, games or anything else, takes time and effort.





Get a copy of Wirth's "Algorithms + Data Structures = Programs". Then learn C if you want to write games that run on the user's computer. If you want to write web-based games, learn javascript, html. css, SQL and php.
Reply:C++ especially Visual C++ is rather difficult for beginners, I would recommend Visual C# with XNA studio
Reply:C++ is good, But also consider Java, it's a similar language, and a lot of games are now java based, esp in the mobile gaming areas
Reply:Well, yes.





If you have mastered HTML, Php, (maybe) Javascript, and (maybe) Java, that would be a great start :)
Reply:I'm assuming you're using Windows, so here are a few good places to start learning game design. Microsoft Visual C++ might be too advanced, depending on previous knowledge of programming.





http://www.blitzmax.com/


http://www.garagegames.com/products/torq...


http://www.ruby-lang.org/en/


http://unity3d.com/


http://realbasic.com/


http://www.yoyogames.com/gamemaker/

petunia

How to program C using Visual C++?

Can you give me the detail on how to start. I just can't see how to start. Do i need to configure something? maybe the path.

How to program C using Visual C++?
Open a cmd window. Go to the path drive:\Program Files\Microsoft Visual Studio\VC98\Bin In the driver where you installed VC. Run VCVARS32.bat file


It will set all the path you need.


Now go to the path where your C program is.


compile using "cl"


Ex: cl filename.c
Reply:in vc++


file-%26gt;new -%26gt; open file tab-%26gt; c source file


then give the file name in the given slot, then press ok


then u will get the new window, then type ur program and execute it, then u will done.
Reply:there no diff in programming c %26amp; VC++ u can use the same browser, select the file type as c header or source file tats it


Can microsoft visual C++ 6.0 & advanced edition of microsoft visual Fortran & CATIA V5 be run well in VISTA?

yeah, well i only use microsoft visual C++%26amp; microsoft visual Fortran and they work fine,


any problems?


While using visual c++ 6.0,i cant' create a window...what is it that i should do?

Missing Some File





Try to reinstall it if happen same problem then problem with your Windows





Same Problem Happened with me after changing my window i got solution :)


Help downloading Visual C++ 2008 Express Edition?

Hey i tried to download the free version from the microsoft site...





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





when i save it it says its not a valid windows applications. Im running vista, idk if that has anything to do with it but I was wondering if its a passing phase and theres just something wrong with the site. If not is there another site i can download it from? Or maybe theres a setting on my computer which is messing it up?

Help downloading Visual C++ 2008 Express Edition?
The usual problem is a bad download. The solution is to download it again. If you're using anything other than your browser to download it, that downloading program could have caused the problem.

mint

A microsoft visual C++ question?

I am suppose to use data file and make a program to open it ... i made a notepad document and put it on my destop and it will not open when i run my program.. the function is writen perfectly cas it said "can not open file" just like i programmed it to do if the file can not open.. why isn't it open the file?? the name describe in the file matches the file name i use in the program

A microsoft visual C++ question?
%26lt;--- Agree with Meow...





or...





If your using Vista, make sure you are not on a limited account. I've found in many occasions that Vista does not like non-cert applications doing anything... even if your using MS Visual Studio to write it... stupid Vista :(
Reply:This is when you switch to visual C# ;)
Reply:Instead of the desktop, place your data file in the directory where your exe is located. (probably something like \release). Else, you need to "fully path" the desktop in the fopen command or whatever command you're using (c:\document and settings\.......\myFileName).





Hope this helps.
Reply:change the extension of the file to cpp


Tell if fortran,cobol,pascal,,java,c++ and visual basic are scientific,business,standard or structured?

why is java,c++,and visual basic programmming languages scientific,business,standard and structured oriented.why is fortran only scientific oriented and are cobol and pascal programming languages scientific,business,standard or structured oriented and if so explain why

Tell if fortran,cobol,pascal,,java,c++ and visual basic are scientific,business,standard or structured?
So there you have it.


I have Visual C++ 4.0 by Microsoft. Is there a website where i can get started with GUI programming?

Any free or class online would be great, I have a program that I would really like to form into a GUI program. THANKS

I have Visual C++ 4.0 by Microsoft. Is there a website where i can get started with GUI programming?
http://www.tutorialized.com/ might be helpful.
Reply:Holy crap!!! Where did you get such an ancient version of VC++???





Go to Microsoft's website and download Visual C++ 2005 express edition. It's free!


Is c# and visual c++ same?

C# is the web version. Visual C++ is the version that came out before the web version. Both are made by Microsoft. C# requires the .NET CRL (common runtime libraries, installed with the .NET framework) files to be installed on the computer, Visual C++ requires separate RUNTIME LIBRARIES to be installed for applications to run.

Is c# and visual c++ same?
The answer would be no. There's quite a few enhancements in C# and it's much easy to use compared to C++. There are tons of websites out there that list the similarities and differences between the two. Here are a couple of them:


http://www.itgatewaysolutions.com/articl...


http://www.csharphelp.com/archives/archi...
Reply:Nope. C# is called C-sharp and uses alot of the same syntax from C/C++......
Reply:I've programmed under C++ and C# and although they have alot of similarities in their keywords and syntax i find that C# is more closer to Java than C++. So no, Visual C# and Visual C++ are not the same. I perfer to work with C++ for legacy software (or having an easier time working with Win32 Apis) while i use C# for new projects.





C++ is a much older language and so it doesn't really makes things easy with things of today (e.g., internet) and so it is a much harder language to program under. You can accomplish the same things in both languages but it will most definitely take you much longer to do it in C++ than C#. C# (pronunced C-Sharp) is a language that took the best of C++ and made things much easier for today's gotta-get-it-done-yesterday programmer.





And i personally feel C# is better than Java because C# seems to have taken the best of Java and enhanced them. But bravo to the Java makers for better seeing what C++ was try to do more than the C++ peope. But ohmygosh those C++ people had a lot of brilliant ideas back then that you still see C# and Java stealing things into their languages today.





So to sum up, C# is arguably one of the best languages today. I think it is a work of art, and i've played with C, C++, Java, PHP, Visual Basic, etc..

sage

Which programming language (other than C++ and Visual Basic) is suitable to develop CD/DVD burning software?

In the future, after graduated, I plan to develop an open source CD/DVD burning software which have all the following features:





1) Burn: Data CD/DVD, Video CD (VCD), DVD video, Audio CD. if possible, include Blu-ray disc.





2) Convert: all video files to VCD/DVD format, Audio files to MP3 format.





3) Backup: Any files, or entire computer.





4) Copy: disc to disc, disc to image (example: ISO), image to disc).





5) Edit: video and audio files





6) Supported operating system: Windows, Linux, Mac





7) Price: always free, including the source code.





I don't want to use C++ and Visual Basic

Which programming language (other than C++ and Visual Basic) is suitable to develop CD/DVD burning software?
Probably you would not write all this functionality but reuse libraries for the majority of it.





Due to this, you are more concentrating on the interface. You could look at c# but its mostly windows only (can work on Linux, but limited)





Java is portable and you can use c libraries, but the interfaces tend to suck a bit in my opinion on java apps.





You could use c/++ but I don't think you need to go to so much trouble when your main task is the interface.
Reply:There are a lot of languages that could do this but I think you are looking for a powerful language that easy and reduces the development cost. I think you should take a close look into C#.NET 2005 Express Edition. It's free and surprisingly powerful. You are working with audio and video, and this means you want your software to function at maximum speed. C# offers a number of unsafe execution techniques that could do the job. Beside that it is a .NET language, and this means easy development and debugging platform.


How to convert Visual C++ 7 projects to Visual C++ 6 project.?

To be specific converting .vcproj to .dsp project file.





And don't want to use that code from codeproject.com as it goes above my head...is there a freeware utility. Give me whatever you know.

How to convert Visual C++ 7 projects to Visual C++ 6 project.?
Going from a higher version to a older version usually requires either using a third party tool, such as the one on codeproject.com, or just creating a new project and added all of the project files that are in the Visual C++ 7 project. Regrettably there is no easy way to "downgrade" a project version.


Is visual c++ the same as c++?

When people refer to Visual C++, they are usually talking about developing C++ code for Windows using Microsoft's development tools. Often this includes Microsoft proprietary technology. (http://msdn.microsoft.com/visualc/)





When people refer to C++, they are usually talking about the


C++ standard programming language.(http://public.research.att.com/~bs/C++.h...





So a job requiring 'visual c++' requires knowledge of c++,


Microsoft's development tools, how to program on the Windows platform (usually), and knowledge of Windows specific API's and features (usually). A job requiring c++ requires knowledge of how to program in c++.


Microsoft visual c ++ runtime libary.runtime error program c:\docume 1\angela\locals 1\temp\rarsfxo\cleantool.

advance windows care


it's free

alstroemeria

How do I save a visual C++ file on unix is there a command especially for visual C++ type programs?

Save a c++ file on unix....





Well, this is what I do:





~$emacs filename.cpp -nw





once in emacs, you create your program. To save it, hold down ctrl and press x - s. Then just hold ctrl and press x - c to exit.





then do a ls -l from the command line and you will see your file there.





or you could just create the file by typing this:





~$touch filename.cpp





then type ls -l and u will see the file and you can use the text editor of your choice.