Tuesday, July 14, 2009

To use the library function rand in c program?

i want to create a timetable for 5 days and 8 periods with 10 subjects.to select the subjects randomly i used rand function.but this generates the same number more than one time for a day.how could i avoid it????also i want the individual number to be generated for a particular number of times per week.plz help me.......................

To use the library function rand in c program?
The rand() function generates random numbers but this does not mean that it'll generate all different numbers.





Consider the following iteration :





randomize();


for(i=0;i%26lt;10;i+=1)


{


printf("%d",rand()%10);


}





the program will print random numbers under 10, 10 times. This program code does not imply that 8 may not be repeated twice.





Now, coming to your program, each day has 8 periods to which any of the 10 subjects without any repetitions have to be applied.





Make an array of size 8 denoting the periods per day like ( per[8]);





now assign the first period as





per[0]=rand()%10;





now for the subsequent assignments compare with the previous elements of the array. If any of them are equal to the value currently assigned, run the randomize statement again. In this way, you'll be able to assign all distinct values to the array.





hope this helps.
Reply:Which compiler are you using, and for which operating system?


If you're using Borland Turbo C++ 3.0 for DOS, then you can simply view the example code in the IDE's built-in help file.





I don't want to do your homework for you, so I'll just help you with the rand() function.


When creating random numbers, you must first 'seed' the random number generator, otherwise your program will always come up with the same 'random' numbers. In 16 bit compilers, rand() returns a signed 16 bit random number, and in 32 bit compilers, rand() returns a signed 32 bit random number. You can modify the the line that calls rand() in order to modify the output number to suit your needs. Just be careful with the numbers when you use rand(). For example, if you're using a 16 bit compiler, you must remember that rand() can only give a random number up to +32767. But you can go up to +65535 if you use casting to make a variable an unsigned one.





Example:


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


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


time_t t;


int num;





int main(void)


{


srand((unsigned) time(%26amp;t)); // seed random number generator





// Random number between +1300 and +1400:


num=(1300+rand()%1400);


// Random number between +200 to + 2000, in multiples of 10:


num=((200+(rand() % 180)*10));


// Random number between +1 to +50:


num=(1+rand() % 50);





return 0;


}


Look in your compiler's help file and information on the Internet for more sample code.
Reply:Well, I know c++ and c are different but the concept is the same. Run the rand function in an if loop for the day, the loop guidelines should say something like





rand=p8





if (rand=p1,p2,p3,p4,p5,p6,p7,)


{rand=p8}





that way the period is changed until the rand compiles a different number. Not sure what the rand code looks like in c though. i mostly used srand which created a number based on an algorithm in the computers date
Reply:The easiest way to ensure you don't get duplicates, is to check each time for duplicates, and get a new random number if one crops up. If you're doing it this way, it may be easier to store an index giving you a quick way of looking up a number which has already been used.





However, if you want to ensure that you never duplicate a day/period, it may be easier to walk through the days and periods and randomly pick the subject (rather than randomly pick all the day, period and subject).





If you want to limit the number of occurrences of a subject, then keep a tally of subjects and get a fresh number if you don't like the one you've been given. Each time you get an acceptable subject, reduce the tally. If the tally reaches 0, the subject isn't acceptable again.





For example:





/* define the maximum number or times we are prepared to loop to find an availiable subject before giving up */


#define NUMBER_OF_ATTEMPTS 10





/* define the number of times each subject may be picked, always make the 0th item more than the number of periods in a week, to be sure there is something that can always be picked. Each number corresponds to the number of times you'll allow a particular subject (ie 8 for subject 1 and 6 for subject 3 */


int subject_tally[]={9999, 8,8,6,6,4};





/* The array containing your final data*/


int picks[5][8];


/* The loop counter variables */


int day, period, subject, attempts;





/* initialise random seed */


srand (time(NULL));





/* loop through each period of each day*/


for (day=0; day%26lt;5; day++)


{


for (period=0; period%26lt;8; period++)


{


attempts=0;


/*attempts loop prevents run away */


while (attempts++%26lt;NUMBER_OF_ATTEMPTS)


{


subject = rand() %6 ; /* gives a random number between 0 and 5 */


/* only consider the subject if it still has an excess of available periods*/


if (subject_tally[subject]%26gt;0)


{


picks[day][period]=subject;


subject_tally[subject]--;


/* Leave this while loop if a subject was successfully picked*/


break;


}


}


/* if we ran out of attempts, then make it a free period */


if (attempts %26gt; NUMBER_OF_ATTEMPTS)


{


picks[day][period]=0;


}


}


}


I want to get a c++ code contaning a function on library system?

c++ fuction

I want to get a c++ code contaning a function on library system?
void f() {





}


Can anybody suggest a site where i can find a program on Library management in C++?

I like plograming ,


about ,


Imeen,


%26lt; %26gt;


%26lt; %26gt;


%26lt; .


%26lt; %26gt;





%26lt; %26gt;








............................(%26lt; %26gt;)


ew


ew


ew


%26lt;#/////////////////////////////#%26gt;


%26lt; %26gt;

Can anybody suggest a site where i can find a program on Library management in C++?
Managing c library?
Reply:You can try the following site


http://www.vyomworld.com/source/code.asp...


or you can read the book containing different project by Sumita Arora see their publication list.
Reply:Every compiler package has its own librarian.


Read your compiler documents.

long stem roses

Is it possible to define new functions with the same names as standard library functions in 'C' language?

Yes. That's called "overloading."

Is it possible to define new functions with the same names as standard library functions in 'C' language?
Yes it is possible. However, the reason the library exists is to stnadardize many of the common elements required for writing code, so that people were not re-inventing the wheel each time they wrote a program in C.





That said, several string input functions--such as gets() and scanf()--are the source of many buffer overflow attacks by hackers. So it might be a good idea to re-write the headers, and use your own custom library of more secure functions. That way you will have more robust and secure code in your programs.
Reply:Sure. Just don't use the standard library header directly.
Reply:No, it is not possible.


Not if you link your program with standard library and use standard headers.





Overloading exists only in C++ and allows to define new functions with the same names, but different parameter types. Overloading does not apply to C language and standard C library functions.





You can't redefine, for example, function printf() or atoi(); If you make C function with the same name and parameter types, the program won't link because of naming conflicts.





In C++ program (but not C) you can make function with the same name as library function - like atoi() for example, but it has to have different parameter types, and it won't replace the original library function.


Does Anybody Know What Is The Address For The Congress Library Washington D.C.?

http://www.loc.gov/index.html





The Library of Congress


101 Independence Ave, SE


Washington, DC 20540


How to copy songs from i tunes library to a c.d?

hi friends

How to copy songs from i tunes library to a c.d?
first you have to make sure you have a blank cd then you make yourself a playlist by clicking on the songs you want and dragging them to the left side once you have your playlist made you go to it and click on burn cd in the upper right hand corner where you music shows up when you play it then you let it burna dn your done


Can someone give me the code for library managment project in c language.. the projest must be simple..?

have to make a simple project in c language using file management wit a little of graphics.. it should be very sipmle and easy to understand.. if someone cud help me.. plz send me the cop of the code.. thnx..

Can someone give me the code for library managment project in c language.. the projest must be simple..?
Do your own coursework. You WILL get caught if you don't.





Rawlyn.

gifts

How do I move my Itunes-program, library etc... from my C -drive (full) to the D -drive (99%empty)?

How do you move programs from your C drive to the D drive?

How do I move my Itunes-program, library etc... from my C -drive (full) to the D -drive (99%empty)?
Just click the folder from your C:\ drive and hit CTRL X and open your D:\Drive and hit CTRL V.
Reply:D drive is probbly a recovery drive....check how big it is.
Reply:if they are setups.. copy paste would be good...lol.


but i think u talking about the installed stuff..





its way too difficult man,, registeries, etc, etc, etc..





simplest way would be reinstalling all those stuff in D:\





about the library, i hope there may be a option of exporting it,


install itunes on d:\ and then again import it..





I hope it was worth..


What is another name for a library file in 'C'?

Never heard of any other name. However, I do know that they have been called "static" library files because of their unchanging nature in the past. Now, most software uses DLL files, or Dynamic-Linked Libraries (Microsoft seems to love them...) to take care of various parts and pieces of code.

What is another name for a library file in 'C'?
header file would be another option. library is probably universal name for that particular name in c. but awesome question. i'll have to ask my teacher this question.
Reply:I don't think there is a synonym for a c library file. Never heard it called something else. It's been confused with header and object files by newbs, in error...





But still, you might find what you're looking for at the link below..
Reply:Library files, those containing object modules generated from C source or other compiled source, are also known as archive files. The term archive originates from early versions of UNIX, and is still the commonly used term to reference them by UNIX programmers today.





The archive command (ar) is used to manage archive files which are usually named libXXX.a where XXX is the nature of the library. Common archives are:


libc.a -- standard C library


libm.a -- standared Math library


libsocket.a -- socket





If an archive is referenced on the compile command line, the needed object modules from the archive is statically linked into the resulting binary (executable in MSDOS speak). If shared object archives are referenced at the time a binary is created, the references are noted in the binary, but not stored in the binary file itself. This results in the binary being a smaller file, but also requires that the shared object archive(s) be present on the computer where the binary is to be loaded and executed.





Shared object archvies have a name that has the form libXXX.so.v where XXX is the same type name that libXXX.a has, and v is the version number. Version numbering is important with shared objects as a binary created to work with libiconv.so.2 might not work with libiconv.so.3.





Shared object archives are sometimes referred to as dynamically linked libraries as the final 'connection' or link between the binary and the contents of the archive is done as the binary is loaded for execution. Some operating systems also allow the modules from a shared library to reside in one spot in memory and to be shared by any currently running programme that needs the functionality provided. This has the advantage of reducing the total memory needed to support concurrent executing programmes that all reference the same archive(s).








If you are running on a UNIX machine, execute man for ld, ar, and ldd to see more information about creating archives, linking, and determining the reference(s) of a binary to shared objects.

innia

Is there any library function in C++ which could clear the run screen?

if you are talking about plain old c++ programming, I guess the conio.h has a funcition to clear the screen;





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


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





void main()


{


clrscr();





}





i guess this works.

Is there any library function in C++ which could clear the run screen?
What you see below are the nest of functions that you can use on your key board for short cuts. Copy and paste this and save it for future refrence.





Tech Tips on Windows Keyboard Shortcuts for V6.0, and updated with all NEW shortcuts for Internet Explorer v7.0.





Borrowing from Firefox and other browsers, IE7 now features tabbed-browsing. With tabbed-browsing you can, among other things:





Use one Internet Explorer window to view all your web pages.


Open links in a background tab while viewing the page you're on.


Save and open multiple web pages at once by using favorites


and home page tabs.





Most people think they know the ins and outs of using their favorite software (and maybe they do), but there are hundreds of little shortcuts that can be used to make common tasks even easier. This Tech Tip is going to follow a different format than the norm and will list a few dozen of these hot keys that can be used to make working in Microsoft Windows even easier.





The shortcuts covered are broken up into groups based on the main key involved in activating them. So, let’s take a look at what we can do with the ALT, CTRL, SHIFT, and Windows Keys, as well as a few combo moves…





General Keyboard Shortcuts:


CTRL+C (Copy)


CTRL+X (Cut)


CTRL+V (Paste)


CTRL+Z (Undo)


DELETE (Delete)


SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)


CTRL while dragging an item (Copy the selected item)


CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)


F2 key (Rename the selected item)


CTRL+RIGHT ARROW (Move the insertion point to the beginning of the next word)


CTRL+LEFT ARROW (Move the insertion point to the beginning of the previous word)


CTRL+DOWN ARROW (Move the insertion point to the beginning of the next paragraph)


CTRL+UP ARROW (Move the insertion point to the beginning of the previous paragraph)


CTRL+SHIFT with any of the arrow keys (Highlight a block of text)


SHIFT with any of the arrow keys (Select more than one item in a window or on the desktop, or select text in a document)


CTRL+A (Select all) F3 key (Search for a file or a folder)


ALT+ENTER (View the properties for the selected item)


ALT+F4 (Close the active item, or quit the active program)


ALT+ENTER (Display the properties of the selected object)


ALT+SPACEBAR (Open the shortcut menu for the active window)


CTRL+F4 (Close the active document in programs that enable you to have multiple documents open simultaneously)


ALT+TAB (Switch between the open items)


ALT+ESC (Cycle through items in the order that they had been opened)


F6 key (Cycle through the screen elements in a window or on the desktop)


F4 key (Display the Address bar list in My Computer or Windows Explorer)


SHIFT+F10 (Display the shortcut menu for the selected item)


ALT+SPACEBAR (Display the System menu for the active window)


CTRL+ESC (Display the Start menu)


ALT+Underlined letter in a menu name (Display the corresponding menu)


Underlined letter in a command name on an open menu (Perform the corresponding command)


F10 key (Activate the menu bar in the active program)


RIGHT ARROW (Open the next menu to the right, or open a submenu)


LEFT ARROW (Open the next menu to the left, or close a submenu)


F5 key (Update the active window)


BACKSPACE (View the folder one level up in My Computer or Windows Explorer)


ESC (Cancel the current task)


SHIFT when you insert a CD-ROM into the CD-ROM drive (Prevent the CD-ROM from automatically playing)








Microsoft Internet Explorer 7.0 Keyboard Shortcuts:


CTRL+click (Open links in a new tab in the background)


CTRL+SHIFT+click (Open links in a new tab in the foreground)


CTRL+T (Open a new tab in the foreground)


ALT+ENTER (Open a new tab from the Address bar)


ALT+ENTER (Open a new tab from the search box)


CTRL+Q (Open Quick Tabs - thumbnail view)


CTRL+TAB/CTRL+SHIFT+TAB (Switch between tabs)


CTRL+n (n can be 1-8) (Switch to a specific tab number)


CTRL+9 (Switch to the last tab)


CTRL+W (Close current tab)


ALT+F4 (Close all tabs)


CTRL+ALT+F4 (Close other tabs)


For more information, visit: http://www.microsoft.com





Dialog Box Keyboard Shortcuts:





If you press SHIFT+F8 in extended selection list boxes, you enable extended selection mode. In this mode, you can use an arrow key to move a cursor without changing the selection. You can press CTRL+SPACEBAR or SHIFT+SPACEBAR to adjust the selection. To cancel extended selection mode, press SHIFT+F8 again. Extended selection mode cancels itself when you move the focus to another control.





CTRL+TAB (Move forward through the tabs)


CTRL+SHIFT+TAB (Move backward through the tabs)


TAB (Move forward through the options)


SHIFT+TAB (Move backward through the options)


ALT+Underlined letter (Perform the corresponding command or select the corresponding option)


ENTER (Perform the command for the active option or button)


SPACEBAR (Select or clear the check box if the active option is a check box)


Arrow keys (Select a button if the active option is a group of option buttons)


F1 key (Display Help)


F4 key (Display the items in the active list)


BACKSPACE (Open a folder one level up if a folder is selected in the Save As or Open dialog box)





Windows Explorer Keyboard Shortcuts:





END (Display the bottom of the active window)


HOME (Display the top of the active window)


NUM LOCK+Asterisk sign (*) (Display all of the subfolders that are under the selected folder)


NUM LOCK+Plus sign (+) (Display the contents of the selected folder)


NUM LOCK+Minus sign (-) (Collapse the selected folder)


LEFT ARROW (Collapse the current selection if it is expanded, or select the parent folder)


RIGHT ARROW (Display the current selection if it is collapsed, or select the first subfolder)





Microsoft Natural Keyboard Shortcuts:





Windows Logo (Display or hide the Start menu)


Windows Logo+BREAK (Display the System Properties dialog box)


Windows Logo+D (Display the desktop)


Windows Logo+M (Minimize all of the windows)


Windows Logo+SHIFT+M (Restore the minimized windows)


Windows Logo+E (Open My Computer)


Windows Logo+F (Search for a file or a folder)


CTRL+Windows Logo+F (Search for computers)


Windows Logo+F1 (Display Windows Help)


Windows Logo+ L (Lock the keyboard)


Windows Logo+R (Open the Run dialog box)


Windows Logo+U (Open Utility Manager)





Accessibility Keyboard Shortcuts:





Right SHIFT for eight seconds (Switch FilterKeys either on or off)


Left ALT+left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)


Left ALT+left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)


SHIFT five times (Switch the StickyKeys either on or off)


NUM LOCK for five seconds (Switch the ToggleKeys either on or off)


Windows Logo +U (Open Utility Manager)





Remote Desktop Connection Navigation:





CTRL+ALT+END (Open the Microsoft Windows NT Security dialog box)


ALT+PAGE UP (Switch between programs from left to right)


ALT+PAGE DOWN (Switch between programs from right to left)


ALT+INSERT (Cycle through the programs in most recently used order)


ALT+HOME (Display the Start menu)


CTRL+ALT+BREAK (Switch the client computer between a window and a full screen)


ALT+DELETE (Display the Windows menu)


CTRL+ALT+Minus sign (-) (Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer.)


CTRL+ALT+Plus sign (+) (Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer.)





Other Information:





Some keyboard shortcuts may not work if StickyKeys is turned on in Accessibility Options.





Some of the Terminal Services client shortcuts that are similar to the shortcuts in Remote Desktop Sharing are not available when you use Remote Assistance in Windows XP Home Edition.





Final Words:


Windows hot keys are all intended to provide some sort of convenient alternative to common tasks, and whether specific combinations do so is up to the individual to decide. Some are simple time-saving motions, while others are complex maneuvers in finger gymnastics. There are dozens of other common Windows shortcuts (and even more related to specific software titles), and memorizing just a few of the more basic ones may be worth the time-savings they can afford you.





Good luck and we hope this will help you now as well as in the futire.


Where is the West Regional Library in Cary, N.C. and how do I get there?

This is a brand new library that opened on Sept 16 and is somewhere near Highway 55. I tried the townofcary website with no luck so if they have a website, that would be great also.

Where is the West Regional Library in Cary, N.C. and how do I get there?
The webpage for this library branch is here http://www.wakegov.com/locations/library...





It is located at 4000 Louis Stephens Drive, Cary, NC 27519


How to rebuild the library files in c to debug linking errors?

on runnin the program it will ive the error-


linking error:undefined symbol scanf(............)

How to rebuild the library files in c to debug linking errors?
If you do not have scanf(), you are missing


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





in the file.


How can i make a 'library system' using C++ programming ????what can i use data structures or classes???

am a new programming student and i really tried to do this using structures but i failed so plz can anyone help me with that???

How can i make a 'library system' using C++ programming ????what can i use data structures or classes???
I'm not really well acquinted with C++...is the system development restricted to using C++ only, cause if it's not then it would be better to use C# ( C-sharp) instead as it is easier and simpler to use. My advice is to use classes instead so that you can define the relationships between the classes...making programming for the system so much easier! Hope this helps a little:)

gerbera

I moved my itunes to an external hard drive, now when i open itunes, it creates a music library on my c drive

how do i keep this from happening. IN the preferences tab i even moved the music library to my G (my external drive)





when i reopen itunes it empty and I have to reimport


everything which takes forever.





help?

I moved my itunes to an external hard drive, now when i open itunes, it creates a music library on my c drive
When you move where you store your Itunes library, it will import to the new location. I had to delete the first library then change the location. Then import the songs I wanted to Itunes. That reloaded everything on my ipod. There will be a reference file on you C drive still. I also choose the option of Itunes not duplicating the songs on the other drive.





I then backed all my songs to another exterior drive.
Reply:Maybe leave a copy there so it sees it is already there.


Where can i find c code for library management?

Check out this site http://www.wareprise.com/EnterpriseSoftw...


Can anyone helpme with c coding for library management?

Wait up I'm still in a coding........You damn library management geeks never slow down....


What library and function do you need to open have the program open a file for you in c++?

I'm currently learning c++ and I was thinking about creating a program that opens a file for me. What is the command for opening a file in c++ and, if there needs to be a different library please include that too.





Thanks

What library and function do you need to open have the program open a file for you in c++?
Here's a simple example:





#include %26lt;iostream%26gt; // Header for input/output streams


#include %26lt;fstream%26gt; // Header for file access





using namespace std; // Use the standard namespace





void main () {


// Create a file stream


ofstream myfile;


// Open the file


myfile.open ("example.txt");


// Write to the file


myfile %26lt;%26lt; "Writing this to a file.\n";


// Close the file


myfile.close();


}
Reply:Have a look at the following headers:


%26lt;iostream%26gt;


%26lt;fstream%26gt;


%26lt;iomanip%26gt;





You should see that all sorts of methods for reading/writing files are there.





Here's afewexample portions:





ifstream inFile;


inFile.open("myFile.dat", ios::in);





if (inFile.is_open() == 0)





inFile.get( blah blah blah)

rosemary

Program in c++ under the library stdio.h to make an X O game?

stdio.h isn't a C++ library - it's a C header.





You can probably find some source-code on the net if you search for 'tictactoe.c' or 'tictactoe.cpp', which I assume you haven't done yet.


Could someone give me a tutorial on how to write a GUI framework/library in c++?

I Want to write an API like windows.h or GTK. I know this might be hard, but I want to try.

Could someone give me a tutorial on how to write a GUI framework/library in c++?
go to codeproject.com and learn MFC and WTL for gui framework
Reply:It's harder to write the tutorial than it is to write the library.





Most programmers buy a library, rather than write one, especially C++ programmers. After all, if they were into systems programming, they'd be using C, not C++.





And if you need a tutorial in order to do it, you are going to end up with something unusable.





So, I imagine the answer to your question is "no".
Reply:I don't see why you would want to. On Windows, you can use DirectX, GDI, or GDI+ for graphics work. However, if you've created some useful graphics procedures which make use of DirectX, GDI, or GDI+, then you can just make your procedures public and put them into a .dll file.





There's 2 ways you can go. You can write a COM object, or you can just write a .dll file with public procedures. I don't recommend the COM object route because there is more work and you should know that COM objects, OOP, and frameworks produce bloated, slow code.





Creating a .dll file is easy. I don't recommend that you use a framework (Microsoft's MFC or Borland's VCL) for creating a .dll file because your code might require some of the stupid 'support' .dll files that those frameworks use. You don't want to bother having to include those files when you distribute your .dll file.





Here's information on DLL files:


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


(Remember to set the linker to create a .dll file, not an .exe file.)
Reply:Or else you may contact a C++ expert at websites like http://oktutorial.com/


C++ Query V.V.URGENT: how to set path for graphics library functions in c++??

the actual problem is whenevr i run the programs containg library functions defined in the file graphics.h the program output shows a .BGI error..so can u suggest me any way to solve this error????

C++ Query V.V.URGENT: how to set path for graphics library functions in c++??
In you programm you are using this function in the following way.


initgraph(%26amp;gdriver, %26amp;gmode, "");





but in this function you have give the path of you tc\bgi folder.


I assume this folder is placed on system in "C:\tc\bgi".Please search this bgi folder in TC folder whatever you use(turboc2 etc)


and give the full path in your initgraph function. just like


initgraph(%26amp;gdriver, %26amp;gmode, "C:\\TC\\BGI\\");


Hope this will help.


Writing compiled library .lib in C.....?

I need to write my own optimised math library for embedded processor. How can I do that?

Writing compiled library .lib in C.....?
First of all, what is the processor, and what embedded operating environment are you using? That kind of enables someone to help you.


Second, writing your own optimized math library is a science in itself. There is so much open source software out there for importing a math library into your project... why try and re-invent the wheel?


For starters, check out:


http://www.thefreecountry.com/sourcecode...


and


http://opensource.hp.com/opensource_proj...





Get a handle on using tools available before considering anything else. There are people out there that have devoted considerable parts of their careers writing all of these math API's and libraries. Take advantage of that and concentrate on your application.
Reply:You need to write a class......you are prolly better off using C++ because it is more object oriented than C.....I haven't worked with C a lot but in C++ you create a .h file, in your case math.h, and you include it like #include%26lt;iostream%26gt;


but, the syntax is quotes like





#include%26lt;iostream%26gt;


#include"math.h"





NOTE:





#include%26lt;math.h%26gt;, is legal with out a source file (a .cpp file) , and will include the standard math libary .cpp (source file) that was already created by the standard, so you might wanna use a different name I dont know if it will confuse the compiler or not...





the .h file is your decleration, it is where you would put things such as (this is my class to handle big integers





#ifndef _BIG_INT_H_


#define _BIG_INT_H_





class big_int


{








public:


big_int::big_int(); // default constructor


big_int big_int::operator+(big_int); // operator overloading for addition


big_int big_int::operator*(big_int);// calculates multiplication


big_int big_int::fact(const int); //calculates factoral


big_int%26amp; big_int::operator=(big_int);


void big_int::set_array_size(int);


void big_int::output();


int big_int::size();





int num_array[500];





private:


int array_size;


friend void set_array_size(int);





};








#endif








the #ifndef _BIG_INT_H_ and #define _BIG_INT_H_, are used by the compiler





then you need a source file, my source file for this was:





/*


big_int.cpp defination file





A class that can compute mathmatical opperations of large integers by using arrays.











*/





#include"big_int.h"


#include%26lt;iostream%26gt;





big_int::big_int(){


};








big_int%26amp; big_int::operator=(big_int rhs){





for(int i =0; i %26lt; rhs.size(); ++i){


num_array[i] = rhs.num_array[i];





};





set_array_size(rhs.size());





return *this;





};











big_int big_int::operator+(big_int rhs){





// variables that are going to have the reversed data


big_int reversed_lhs , reversed_rhs;











int rhs_index = rhs.size() - 1; // value of the highest index in rhs array


// reverse the rhs array


for(int i = 0; i %26lt; rhs.size(); ++i){


reversed_rhs.num_array[i] = rhs.num_array[rhs_index];


--rhs_index;


};





// set the value of the size of the reversed rhs array


reversed_rhs.set_array_size(rhs.size());








int lhs_index = size() - 1; // value of the highest index in the lhs array


// reverse the lhs array and store it in reversed_lhs


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


reversed_lhs.num_array[i] = num_array[lhs_index];


--lhs_index;


};





// et the value of the size of the reversed lhs array


reversed_lhs.set_array_size(size());








// variable to store the reversed result


big_int reversed_result;








int max_size;


// calculate the biggest array and store it in max_size


if(reversed_lhs.size() %26gt; reversed_rhs.size()){


max_size = reversed_lhs.size();


}else{


max_size = reversed_rhs.size();


};








// variables needed for addition


int index = 0;


int carry = 0;


while(index %26lt; max_size+1){


// store the values of the added indexs in temp


int temp = reversed_rhs.num_array[index] + reversed_lhs.num_array[index] + carry;


// assures that there is only a single digit in the array


if(temp %26gt; 9){


reversed_result.num_array[index] = temp % 10; // sets value of big int if it is 2 digits


carry = (temp / 10); //sets carry if the temp is greater than 10


}else{


reversed_result.num_array[index] = temp;//sets single digit value


carry = 0;// no carry


};


++index;//incriment index


};





reversed_result.set_array_size(index); //sets size of the big_int

















// put the array in the correct order and filter out possible 0's that were added on the front and store in result


big_int result;


bool check = true;


int reversed_result_index = reversed_result.size() - 1;


int result_index = 0;


int times_to_execute = reversed_result.size();


int count = 0;


while(count %26lt; times_to_execute){


// makes sure that there was not an extra 0 added on front, and if so runs loop one less time and does not copy 0


if(reversed_result.num_array[reversed_re... - 1] == 0 %26amp;%26amp; check == true){


-- reversed_result_index;


check = false; // prevents output of leading 0's


times_to_execute = times_to_execute -1;


};


// copies the arrays


result.num_array[result_index] = reversed_result.num_array[reversed_resul...


++result_index;


--reversed_result_index;


++count;


};


// sets the size of result


result.set_array_size(count);





//returns a big_int with the addition


return result;


};








//operator overloading for multiplication


// uses place values and adds up a series of numbers with place holding values


// to reach result, does not work, but does output series of numbers whoes sum


//is the correct result, and error is not in addition


big_int big_int::operator*(big_int rhs){











// variables that are going to have the reversed data


big_int biggest , smallest;





// if statement to figure out the array with the most digits, then revereses arrays to the correct reveresed greatest or reversed least


if(rhs.size() %26gt; size()){





// reverse the rhs array


for(int i = 0; i %26lt; rhs.size(); ++i){


biggest.num_array[i] = rhs.num_array[i];


};





// set the value of the size of the reversed rhs array


biggest.set_array_size(rhs.size());











// reverse the lhs array and store it in reversed_lhs


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


smallest.num_array[i] = num_array[i];


};





//s et the value of the size of the reversed lhs array


smallest.set_array_size(size());


}else{





// reverse the rhs array


for(int i = 0; i %26lt; rhs.size(); ++i){


smallest.num_array[i] = rhs.num_array[i];


};





// set the value of the size of the reversed rhs array


smallest.set_array_size(rhs.size());








int lhs_index = size() - 1; // value of the highest index in the lhs array


// reverse the lhs array and store it in reversed_lhs


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


biggest.num_array[i] = num_array[i];


};





// set the value of the size of the reversed lhs array


biggest.set_array_size(size());


};

















// variables that will be used in multiplication


int smallest_index = smallest.size() - 1; //index to start on right side


int carry = 0;


big_int add_result;


int add_result_size = 0;


add_result.set_array_size(1);//add_resul is initalized with one digit that is a zero;


int add_result_index; //index of result


big_int result;//stores result


result.set_array_size(1);//sets size of result, only needs to be set once


// because addition process returns a big int


// with the size already set








// loop that multiplies each digit in the big int arrays


while(smallest_index %26gt;= 0){


int biggest_index = biggest.size() - 1; // index to start on right side, resets


while(biggest_index %26gt;= 0){


// set the front of the array to 0


add_result.num_array[0] = 0;


int add_size = 0;


int temp;


// temp value that stores the mutliplication


temp = (smallest.num_array[smallest_index]* biggest.num_array[biggest_index]) + carry;


// if temp is greater than 9 it sets the carry value and the number to be added


if(temp %26gt; 10){


add_result.num_array[0] = (temp%10);


carry = temp / 10;


}else{


// sets number to be added and carry value if temp is a single digit


add_result.num_array[0] = temp;


carry = 0;


};


//calculates the place (number of 0's) to put after the value to be added


add_size= ((biggest.size() - biggest_index) + (smallest.size() - smallest_index)-1);


//sets the size of the add array


add_result.set_array_size(add_size);


// add_result has a differnt value at end of loop, and sum of values is result


//however i do not know why it is not working, and the error is not in the addition


// it outputs numbers whoes sum is the multiplication result


std::cout %26lt;%26lt; '\n';


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


add_result.output();


result = (result + add_result);


std::cout %26lt;%26lt; '\n';


result.output();


// makes add_result have a zero value


add_result.num_array[0] = 0;


add_result.set_array_size(1);





// decriment index


--biggest_index;





};


//decriment index


--smallest_index;





};








;








return result;


};








/*


big_int big_int::fact(const int in_fact){


big_int result;


result.set_array_size(1);


result.num_array[0] = 1;


//big int with value of one to add to incriment


big_int one;


one.set_array_size(1);


one.num_array[0] = 1;


big_int incriment; // big int that will be incriment up to the value of fact


incriment.set_array_size(1);


incriment.num_array[0] = 0;





//calculates the factoral by multiplying result *= incriment


// then incrimenting incriment by one


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


result = result * incriment;


incriment = incriment + one;





};


return result;





};


*/





























// outputs the big_int stored in the array


void big_int::output(){


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


std::cout %26lt;%26lt; num_array[i];


if(0 == (i % 50) %26amp;%26amp; i != 0){


std::cout %26lt;%26lt; '\n';


};


};


};





// sets the size of the private member array_size


void big_int::set_array_size(int size){


array_size = size;


};





// returns the size of the array


int big_int::size(){


return array_size;


};








classes are pretty confusing, that code I showed you compiles, but doesn't completely work like it should and is done in C++ lol......





classes will allow you in your main program to do things such as





x.add(1), vector.push_back(5), if you are familiar with vectors, they are sort of like complex functions...you can also overload operators, (operator is a key word in C++) i dont know about C.....if you search online you can prolly find a source code to a math library.....librarys are classes....





You also need to compile your classes, with your main program, it is the same as compiling a function with a header file......








sorry to post all this code on here lol


good luck!
Reply:Assuming that you have a C compiler with other utility libraries for the processor already, then you should be able to write your code without the standard entry point function (main) and compile it to an object. You'll likely need to use a switch to tell the compiler that you want no entry point unless the one you have has an IDE that supports library creation as an automatic option. Most compilers, though not all, include a library tool that will take this compiled object code and create a standard library that the compiler and linker understand. The documentation for the librarian utility is usually included with it. Don't forget to write the header file separately and include it in the source for the library.





When you place your library in as a link option and include your new header file (using #include "MyHeaders.h" ) your project should access it all as needed.





Happy new library!

wallflower

Is thare any library available for C# or Java by which any file format of MS/Open office be viewed/altered?

Is it open source? I know Itext can save .rtf %26amp; .pdf files using both Java and C#. How about viewing these files? How about viewing %26amp; manipulating .xls,.csv, .odt, .ods,.ppt,.odp files from C# and/or Java? Anyone have any idea? I want to make my own 'lightweight' (and independent) open source office application using C#/Java to be submitted to sourceforge.net. It will not use any code/resources of MS/Open office.

Is thare any library available for C# or Java by which any file format of MS/Open office be viewed/altered?
There is a C library libgsf which seems to read/write a variety of structured formats including Office and gsf-sharp for the C# bindings. Beagle for example uses this to index Office documents.


Does anybody knows of open source pdf creation library for c++?

free,open source software,project,library,code in java





http://best-java-source.bizdrv.com/


How can i usee " itoa " function of standard library in C++ ????

i dont know how to use it n wats the syntex .............





if Y is some integer and i want to put its value in char Z ....by using itoa function ....how will i do it and also what is that 3rd argument (ie an int) in that function plzzzzzzzzzzzzz help mee

How can i usee " itoa " function of standard library in C++ ????
It Converts an integer into a string. This is not ANSI C.





It defined in stdlib.h


syntax id : char *itoa( int value, char *string, int radix );


itoa converts the integer val into a string using radix as the base.





value


Is the integer to be converted to string representation.





string


Points to the buffer that is to hold resulting string. The resulting string may be as long as seventeen bytes.





radix


Is the base of the number; must be in the range 2 - 36.





itoa() is not in the standard C library.


it acts like strtol() with base 10.But, if the value of the


integer is outside the range of an int the behaviour is undefined.





strtol() and strtoul() are recommended instead of atoi(). You can also choose a base from 0 to 36. Open your C-book for detail.











If you want to convert integer Y to a char Z then try








char *z = itoa( y, char *str, 10);





I assumed here you are converting a number of base10.





this function returns the string str.. and that we are storing in z.





Hope you understood.
Reply:The first parameter is the integer. The second is the char*. The third parameter is the maximum length of the char string. E.g.





itoa(nInt, szBuf, sizeof(szBuf));


Where would I find a library of C# functions that support spline fitting to data?

Check out





http://www.dotnet247.com/247reference/ar...

Where would I find a library of C# functions that support spline fitting to data?
check out http://www.pscode.com for great modules. You can filter it so you are just searching for stuff written in the .NET framework languages, too.

hollyhock

Where would I find a library of C# functions that support spline fitting to data?

There are many places, but its a good idea to look for things like this in Numerical Recipes first.

Where would I find a library of C# functions that support spline fitting to data?
VTK.org
Reply:Numrical recipes books on line





http://www.nr.com/oldverswitcher.html





has program listing in many languages that you can download


Is there a graph library for c?

GD is a full featured graphics library written in C





http://www.boutell.com/gd/


What is a library in c language?

Instead of RE-INVENTING the code every time, you can write in the C language to CALL functions and sub programs that perform special functions for you. Countless standard Libraries contain many of the functions that you want and need. But you can develop your own set of libraries for your special needs.





Good luck

What is a library in c language?
CHAMBER'S
Reply:The C standard library is a now-standardised collection of header files and library routines used to implement common operations, such as input/output and string handling, in the C programming language. Unlike other languages such as COBOL, Fortran, and PL/I, C does not include builtin keywords for these tasks, so nearly all C programs rely on the standard library to function.
Reply:It contains a class or a bunch of functions you can utilize in your program. You have to include it in the project.
Reply:A library is a collection of subprograms used to develop software. Libraries are distinguished from executables in that they are not independent programs; rather, they are "helper" code that provides services to some other independent program. Today the vast majority of the code that executes in a typical application is located in the libraries it uses.





In C++, the standard library is STL (Standard Template Library), containing algorithms, containers, iterators, strings and so forth.


Gd library installation C++, windows?

Alright i've unpacked all the files from the folder i downloaded into the directory that my compiler is in. Some of the functions in a header file work, while others give linker errors. gdImagePtr works, but gdImageDestroy gives an error








' [Linker error] undefined reference to `_imp__gdImageDestroy@4'





anyone know a solution to this problem?

Gd library installation C++, windows?
You get linker errors if you don't link in the appropriate libraries. You did link in the compiled gd library, right?

cabbage

How to create our own library file and header file from c (OS is windows xp)?

I want to know how to create our own library file and header file in c.





i use turbo C and the os is windows xp.


i could find the command equivalent of 'ar' command in Linux (archieve command) same in Windowz xp





thanks

How to create our own library file and header file from c (OS is windows xp)?
hi,





first you can create header file by ( .h ) extension.for example triq.h in this file you can write what (functions) you wants in the header file.





second you can store this ( .h ) file extension in to header files location.





then crate c program and include this header file.thats all..bye
Reply:create files





bob.h


bob.c





In bob.c put:





#include "pathto\bob.h"





your c code here


I am in 12,th .i want a c++ program of library manegment.it means i want that programs coading.?

library manegment

I am in 12,th .i want a c++ program of library manegment.it means i want that programs coading.?
This is the wrong category for your question since it has nothing to do with special education. Try posting in another section such as higher education or computers and you might get a more helpful answer.


Why do i get a visual c +++run time library error only when I'm playing my on-line game? And how do I fix it?

This seems to only happen when I start to play an on-line game . After about 3 minutes my game freezes up and I get this error. But once the game is closed out the Visual c +++runtime error diappears. Why is this happening and how do I fix it? I have a 17" Tosbia laptop (Satelite) with Windows 2000xp in it. Do I need to update my video driver? I havent found an update for it yet.

Why do i get a visual c +++run time library error only when I'm playing my on-line game? And how do I fix it?
It might be your laptop doesn't have the ability, you should try update your video card by looking it up at Windows Update NOT Microsoft Update because Windows Update will list all of the updates from that card maker and what card it works for. So go to http://v4.windowsupdate.microsoft.com/ca... and click on "Find Driver Updates" then "Video" it will give you a list of update by your maker and you can use filters as well to find it. Also do a disk defragment or disk clean up both are not harmful they just clean up your system of files and compresses them. Also check for game updates.
Reply:c++ runtime error is the software error. whoever coded the application (game ur using) apparently has a *bug* that needs fixin... email/contact the game vendor and let them know. They have to fix in the code and redistribute the game to get it fixed...





u cannot do anything to alieve the issue


C++ Source Code Parser Application or Library?

I need to parse C/C++ source files and I don't want to do it neither by hand nor by using a parser creator (e.g. bison). Call me lazy but I have other things to work on.


Does anyone knows of a library to link my application to or a command line tool that I can use for this purpose?

C++ Source Code Parser Application or Library?
Obviously, the g++ front end is available, but that


doesn't strike me as being particularly easy to integrate


into another application.





At reference #1 (below), there's an extension called


GCC-XML which parses C++ and produces parse trees in XML


format (which would be *much* easier for your application


to process). Maybe that's a closer fit.
Reply:BOOST has a complete C++ parser implemented in C++ template programming. Follow http://www.boost.org/ Report It

Reply:download it

phlox

Cd library management project code in c programing language?

small project in c programing language to manage a vcd library or a vcd rental shope

Cd library management project code in c programing language?
http://www.planet-source-code.com/


Im using firefox and when i go to the yahoo homepage i get a Microsoft Visual C++ Runtime Library Help Me Out!

Check the address you typed in. I think something like that happened to me when I accidentally typed in http:// twice. Good luck!

Im using firefox and when i go to the yahoo homepage i get a Microsoft Visual C++ Runtime Library Help Me Out!
There are any number of process that can interfere with your programs including spys, trojans and virus. Please got to the site http://www.sysinternals.com and download and run the program Autoruns. It is free. It will detect most if not all programs and process running in your system including those that may be missing files to run correctly. You can stop a file from running or delete it entirely. This is a good first step, however you do need to download and run well known good anti spy, antivirus and anti trojan programs as well.
Reply:You're alone in this error.


Suggestions?


Uninstall %26amp; reinstall firefox. Sounds like you're having problems with your firefox installation.





That doesn't work? You may have a virus, need to reformat, or are just really bogged down with spyware/malware/adware


When i close my sonic digitalmedia LE, i get a the runtime error microsoft visual C++ runtime library R6025 pc

This error occurs because of a known issue with the reader’s version of Norton AntiVirus. Symantec hasn’t released a fix for this issue and--given the fact that this version has been out for four years--isn’t likely to release one in the future.





Our first recommendation is for the reader to upgrade to a recent edition of Norton AntiVirus or some other reputable antivirus utility. We suspect the reader has let his annual update subscription lapse and is therefore using an out-of-date utility. This isn’t prudent computing behavior; any virus, worm, or Trojan horse released since the reader’s most recent update can slip past the utility’s monitoring features. Indeed, viruses are known to cause this same type of “R6025” error in other applications, including Windows Explorer, although we don’t think that is the situation here. Before installing the new antivirus utility, however, he should uninstall Norton AntiVirus 2002.


Does anyone know how to correct a problem with my computer.It says microsoft C++ runtime library?

Under that it says a buffer has been overrun and has corrupted the programs internal state.

Does anyone know how to correct a problem with my computer.It says microsoft C++ runtime library?
You'll need to provide a lot more information than that, I'm afraid.


Information such as the following would help:


1. What were you doing on the computer when this error occurred?


2. How often does it happen?


3. Which program(s) were you running when this occurred?


4. Which operating system are you using and which SP or patch version?


5. What's your hardware configuration? (which machine, which chip, how much memory, etc.)

verbena

Evrytime i open this game that i downloaded an error pops up that says "Microsoft visual c++ runtime library"

wut is that???? how can i fix this cause it wont let me into the game

Evrytime i open this game that i downloaded an error pops up that says "Microsoft visual c++ runtime library"
You need to download the C++ runtime lib.


search the Microsoft website for it :D


How do you create a packet/namespace/class library in C# Visual Studio?

I gots me a bunch of classes that I would like to be able to access by





using myClasses;





but I have no idea how to do this. I have done similiar things in Java but never with C#.

How do you create a packet/namespace/class library in C# Visual Studio?
create .cs (class) files from the file%26gt;new menu. this will create a class file using the default namespace of your project. you can then add all the methods and properties you want from existing code et.al. if you use the same namespace, you won't need to use a using statement. or you can create a brand new project with all your classes in it, then create a reference to that project from the solution explorer. good to put the project in the same solution as your main project. then use the using command just as you are wishing to in your question.
Reply:Change the project to compile as a DLL, and put that DLL somewhere global (e.g. besides the Debug folder)





Now create a new project, and add your DLL as a Reference (browse to it).





Now in your code you can do the using statement of your new library.


When I try to open an attachment,I get message "Microsoft Visual C++Runtime Library" Runtime Error?

I get a message that says "This application has requested the Runtime to terminate it in an unusual way. Please contact the application support team for more information". I can't open Word or Photo attachments. I'm using Vista Home Basic %26amp;


IE7. This problem started abt 2 weeks ago.

When I try to open an attachment,I get message "Microsoft Visual C++Runtime Library" Runtime Error?
Do not select 'Open', choose the option 'Save' then after downloading the attachment, if it is a picture open it with a default image viewer.





If the file (or attachment) was from Yahoo!Mail, it's pretty clean since it was scanned first before actually sent to you.
Reply:You need some neccesary files named "Visual Basic Runtime Files" to run certain applications. Install in here:





http://www.microsoft.com/downloads/detai...


How do i download World of Warcraft without getting a Microsoft Visual C++ Runtime Library error???

Use Bitfiles, because those are the ones that work and rarely has viruses on them.

snapdragon2

Why does this keep popping up on my computer? "Microsoft Visual C++ Debug Library" How do I get rid of it?

I ran my Norton Virus scan and that didn't help. It only pops up when I'm on Yahoo Fantasy Sports. HELP!!!

Why does this keep popping up on my computer? "Microsoft Visual C++ Debug Library" How do I get rid of it?
One possible cause.





Open Internet Explorer and click on TOOLS then on INTERNET OPTIONS.





When the Internet Options Window opens go to the Advanced TAB.





Disable Script Debugging should be ticked.


Display a notification about every script error - should NOT be ticked.





Best to Restore Defaults for all these settings.





Bill


How can I use the <stream> library in c++?

Can any body tell me how how to use "fstream" in c++ to open close and manipulate files

How can I use the %26lt;stream%26gt; library in c++?
use the following links..they are useful..


first link will give you directly use of fstream to read..


similarily you can write...for that you can use help menu in your c++ package(i.e.Turbo c) you are using..


Second link will give you all details methods..to study..


Could downloading firefox be the cause of the Microsoft visual C++ runtime library buffer overrun detected?

error I'm getting?

Could downloading firefox be the cause of the Microsoft visual C++ runtime library buffer overrun detected?
Buffer overflows are the most common form of attacks on a system. The buffer overflow may also be caused by a programming error. Hackers overflow the buffer by thousands of bytes. The VC++ runtime can detect an overflow by just one byte -- not much to work with if you are a hacker.





You can try to download and install the latest VC++ runtime from microsoft. If the error you are getting is not a sign of trouble, the updated VC++ runtime may fix this.
Reply:firefox didnt cause it.you have other proublems. this free tool can help http://www.iobit.com good luck.


I'm getting a runtime error message from :Microsoft Visual C ++ runtime library . how do I stop it?

Enter your error message here:





Runtime Errors and others:


http://support.microsoft.com/default.asp...





Good Luck

I'm getting a runtime error message from :Microsoft Visual C ++ runtime library . how do I stop it?
Buy a Macintosh.

avender

I no longer have DriveCleaner Freeware but get a Microsoft Visual C++Runtime Library 'Runtime error' box.

The 'Runtime error' box says. 'This application has requested the Runtime to terminate it in an unusual way. Please contact the application support team' I have run 'CCleaner' and Serif 'PC Tune up' but neither stop the box popping up. HELP! Please!

I no longer have DriveCleaner Freeware but get a Microsoft Visual C++Runtime Library 'Runtime error' box.
Aloha from Down Unda!


The PC Tune up was never of any value to me as it required a fee I am not willing to pay. However, the 'DriveCleaner' sounds like it may be found in your program files.


['My Computer' %26gt; 'HHD' %26gt; 'Program Files'] where it may need to be deleted manually [right click %26gt; 'delete']


You may find it in the 'Add/Remove Programs' list to preclude going into the Program File.


You may also want to invest some time to run a disk check for the next start up after assuring Microsoft/Windows updates are completed to check the disk %26amp; correct any registry errors. It may take an hour or more but it's a sure fire way to eliminate an error not found anywhere else.


Best wishes~


Is there some graphics library in C?

I mean one which provides functions such as line() and so.


Something similar to the graph library in pascal.

Is there some graphics library in C?
graphics.h
Reply:There is a cross platform library, GTK - see the link, that works on linux or windows or mac. If you're already programming in windows that functionality already exists, all based on DeviceContext and Metafiles, it's called GDI.


Sunday, July 12, 2009

How i can solved his problem?? microsoft visual c++ runtime library?

it appears when i opend a photo program.

How i can solved his problem?? microsoft visual c++ runtime library?
OMG i had that for like a year, i tried EVERYTHING to get rid of it, no such luck





i ended up having to reformat my computer





egh





if you have a backup hard drive





you can move all your stuff to that





then reformat





thats what i did





sorry, i know that stupid C++ can be a real bain in the neck


Hey, does anyone know where I can find C++ language library??? maybe some examples?

All you need to program in C++ is a compiler and notepage.





one of the more popular is located here:


http://www.delorie.com/djgpp/





As for examples there's TONS on the Net, a simple Google Search for 'C++ examples' returned over 32,000 hits.

Hey, does anyone know where I can find C++ language library??? maybe some examples?
Heres some brief example of operators..

violet

How can i fix the microsoft visual c++ runtime library error?

download msvcrt.dll and put it in C:\Windows\System32.





overwrite the old one.





http://www.dll-files.com/dllindex/dll-fi...





hope it helps.


Please help me with this : Microsoft Visual C++ Runtime Library, some kind of error message in itunes, help!?

get the new itunes out. 7.3





it should work





i had the same problem and now its fixed

Please help me with this : Microsoft Visual C++ Runtime Library, some kind of error message in itunes, help!?
I was having a similar problem where the Microsoft Visual C++ Runtime framework emitting an error "abnormal program termination." iTunes version 7.2 would open, the iTunes Music Store window would open, connect to iTMS, and display, at which time the error occurred.





Re-running the iTunes 7.2 installer did not work, so I resigned myself to update to version 7.3. Using Apple Software Update to update to iTunes 7.3 failed saying a newer version was installed.





Since I had already downloaded the iTunes update, in Apple Software Update I went to the Tools menu, then "Open downloaded updates folder..." I double-clicked the iTunes 7.3 MSI file, which happily installed iTunes 7.3. I'm now able to run iTunes, although it's version 7.3.
Reply:Me too! i got the same problem!! i open up iTunes, the library pops up then windows gives the erroe, said it asked the program to terminate in an odd way...
Reply:can you rephrase your question? is it you mean that when you go to the itunes site, an error comes up saying debug? and then you click yes and microsoft c++ comes up, if thats the error you are having, just click no when asked to debug, it doesnt matter at all


How do i fix this problem. M/soft visual c++ runtime library. R6025-pure virtual function call. I`v got xp hom

This error is caused by erroneous programming on the part of the developer who wrote the application your trying to run. Without going into too much detail, they have done something which is not allowed by the C++ language in the source code of the application.





Most C++ compilers would detect this and refuse to build the Executable, however Microsoft Visual C++ compiler version 6 was particular bad at detecting this error during the compilation process which resulted in buggy applications making it out into the world.





There is nothing you can do to fix it, the best thing you can do is contact the software company that made the application and see if they have a newer version of the software or a a patch to fix the problem

How do i fix this problem. M/soft visual c++ runtime library. R6025-pure virtual function call. I`v got xp hom
Thank-you, Trekkie, for the info. The error message involves Roxio 8.2, I believe, because I haven't accepted their upgrade to 9.0. I'll work on it.





ReeRee Report It

Reply:That happened to me once when I was using WindowsMediaPlayer. But nothing else happened after that, and I haven't seen the message since.


How to create a DLL library in C and then use it with C#?

after i have done all the neccessary coding, i have tried to add the generated c++ dll to my C# references and it keeps on prompting that i should only add valid assembly or COM references. pls help

How to create a DLL library in C and then use it with C#?
Without seeing your code and writing a short novel here, the answer you need is probably in one or all of the four URLs below. Good luck!

peony

XML DOM library in C++ UNIX?

Any idea that how can I manipulate (Adding and Removing) with XML nodes in UNIX C++? Any idea/ document about how to do the implementation using libxml or some other libs??? Any help will be appriciated.

XML DOM library in C++ UNIX?
You may want to look at the Apache Xerces project. They have a C (or C++) XML parser, which does DOM and SAX.


Where can i find a easy C++ graphics library?

I want to go beyond simple text only programs and make one that has simple visuals. Does anyone have a recommendation or know where i can find a include file that would work for me?

Where can i find a easy C++ graphics library?
there are many graphics libraries - search sourceforge.net





2 come to my mind: Allegro and SDL





however, you don't write what you really want to do - so maybe they don't fit your need.


Runtime error from microsoft visual c++ runtime library help?

Go to www.microsoft.com and in the search bar type in the error and then click onto the appropiate link[s]

Runtime error from microsoft visual c++ runtime library help?
Try MSDN.com


Can any1 well acqainted with the c graphics library drop me a mail so dat i can contact?

my id is sangeetha16_hm@yahoo.co.in

Can any1 well acqainted with the c graphics library drop me a mail so dat i can contact?
i don't know abt C graphics library if u want i could give u best books on it!





My ID: Deepak_bluethunder@yahoo.com

long stem roses

What causes Microsoft Visual C++ Runtime Library Runtime Errors?

What causes these errors? When I try to play Wolfenstein Enemy Territory, and I'm about to auto-download a mod pak that someone created, I receive this error...can someone please help?

What causes Microsoft Visual C++ Runtime Library Runtime Errors?
need more memory, when your pc tries to run or open more than one program at once, it can cause "runtime" errors if you don't have enough memory to run everything at once, add a memory board, it'll solve this problem.


How Can Include Other C graphics library files in my turbo c3 dos env?

how to do basic graphics programming?

How Can Include Other C graphics library files in my turbo c3 dos env?
just copy the header files into the include folder in tc main folder
Reply:learning more computer......


Itunes error: visual C++ runtime library?

I recently began getting this error message again.





I have had this same error message problem before, and this time i closed itunes and opened it again several times, which did not help. I have the latest version of the software, and even tried downloading it again to see if that would help matters, but i am still getting the error.





Any guidance would be appreciated, and a best answer will be given if the answer solves the problem.


Thanks!

Itunes error: visual C++ runtime library?
Uninstall it completely before re-installing.
Reply:sorry that i cant help ! but i get the same thing,first time thought.


and all my porgrams arent working and closing unexpectedly !
Reply:Okay this happened to me a couple of minutes ago! And it won't go away! It's happened to me before and this is the solution that worked for me:





I deleted most of my downloads, closed all open windows, and tried again. It didn't work. Tried a couple of hours later and held the mouse down on one of the songs-so it would start playing. Guess what? It worked! So right now it's not working for me but I'll wait a little longer. I was planning to buy two songs today and now I can't get it to work! I've seen resolved answers to these kind of questions and this is what one computer expert, "Ms. Dell" put as an answer to this question asked by another user:





Hello, Ugh. My ID is Ms. Dell, and I am pleased to help you today.





Since you have already uninstalled and reinstalled Itunes and the problem still persisted, I am going to provide you additional steps in correcting this dysfunctional problem.





Be patient with me, because this problem requires patience.





We need to delete staled codes in IE7 first.





Open IE7 ( Internet explore 7) which is your browser, and click on TOOLS located to the upper right and then select INTERNET OPTIONS......... There, you will see many buttons. Click on DELETE, then you’ll be taken to where you can either DELETE FILES, DELETE HISTORY, DELETE FORMS, DELETE PASSWORDS AND DELETE ALL.





I highly recommend you to delete your files, history, forms and cookies. Then close that box and then click on OK located to the bottom.





Before we proceed to the next step, be informed that you may lose your Itunes songs.





What OS are you using, is it windows XP or Vista? Let's assume you are using XP.





Click on START located to the bottom left on your computer screen and click on MY COMPUTER. Double click on Local disk (C:) then click on PROGRAM FILES. Then click on the Itunes folder..... Then delete everything in that folder relating to Itunes...





After you have finished deleting all the items in Itunes folder, repeat the step to remove Quciktime player from your computer, too. Then reboot your computer. Then go to http://www.apple.com/itunes/ to re-download Itunes.





NOTE: Turn off your personal firewall program when you are downloading Itunes. But remember to turn it back on as soon as you are finished.





I hope this helps.





You have a great day now.





Ms. Dell.








-That's what she put to this question:





http://answers.yahoo.com/question/index;...





Thanks Ms. Dell! You're a BIG help!








ஐ♥Me♥ஐ
Reply:I'm sorry but "Ms. Dell"'s suggestion is pretty unorthodox. You should never delete a program by going to the Programs folder and deleting the corresponding program. You should always go to "Control Panels" %26gt; "Add/Remove Programs" and find the program you want to remove there. That will get rid of all of the hidden files most programs throw all over your hard drive.





Also, deleting your downloads and browsing history won't have anything to do with iTunes getting a runtime error.





So if you want to uninstall iTunes, do it through add/remove programs. It might work if you do it the other way but a lot of the time this will get you into trouble.


I keep getting a microsoft c++runtime library runtime error Program C:/windows/living~1.scr help remove it.?

I had that same problem. I had to take my tower to someone so they could remove the virus off my harddrive.

gifts

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 vertual c + runtime library. what is this????????????

its keep come up like error.and closing internet window.i did scan with 2 progrrams.fixed problems , restarte comp.still have this thing.please help!!!!!!!!!

Microsoft vertual c + runtime library. what is this????????????
i wish i could help.. when you know more please let me know I'm having the same problems
Reply:You are missing it, it is not a virus or anything. You've wasted time scanning.





http://www.microsoft.com/downloads/detai...





Download this and follow the instructions.

innia

Before constructing c-dna library, what is the two things that should be taken into our mind.?

The first thing to ask is, do you really need to construct your own cDNA library, or can you get one from someone else? If you can get one from someone else, this can put you weeks or months ahead in terms of time. If you decide you really need your own, then make sure you carefully decide on the source of the tissue or cells, making sure of their purity, and make sure you use good technique during mRNA isolation.





Good luck!

Before constructing c-dna library, what is the two things that should be taken into our mind.?
well u have to keep in mind if ure synthesizing the cDNA from the 3'-5' end or frm the 5'-3' end... u have to keep in mind abt th purity of the mRNA u have taken.. and also u will have a large number of enzymes tht u can choose to hlp in ure cDNA synthesis.. u shld be able to decide which is the best suited enzymes to suit ure criteria..


Microsoft Visual C++ Runtime Library” Runtime Error! Program in compro tv tuner card?

Since the card has a windows driver, it was probably written in C++, hence the error.


Check with the manufacturer for updated drivers or firmware.


A reboot usually helps. If the problems continue contact the manufacturer or return it.


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


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.

gerbera

Microsoft Visual C++ Runtime Library error?

I keep getting this error and how do I go about fixing it? Do I need to fix the MS Visual or the source which is hptaskmanager? What causes these errors?

Microsoft Visual C++ Runtime Library error?
Follow this link it tells you the couse and all possible fixes.:)


http://support.microsoft.com/kb/307817


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.


"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.


In C++, what library(ies) should I include for QB-style graphics?

Such as just turning on and off pixels. I'm having a hard time with windows applications, so can I try a more QBASIC style approach?

In C++, what library(ies) should I include for QB-style graphics?
I miss QB. It was such a nice language for graphics. I've never quite had anything comparable.





You might try the Fast light toolkit. It's used in an open source version of basic that is very QB-like. So you might be able to learn something from the source code. There's a fairly extensive tutorial for Fast light too.
Reply:If you mean API functions like SetPixel(), you need to include the library gdi32.lib with your C++ application.

rosemary