49,756 Topics
![]() | |
Hello, I edited a source code I found on a net and now it compiles well. I get a linker error. [CODE]1>Linking... 1>MSVCRT.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main 1>C:\Users\jan\Documents\Visual Studio 2005\Projects\YAST server console\Release\YAST server console.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\Users\jan\Documents\Visual … | |
Hi !!! I am doing a first C++ program, the way is getting the best choice between choices by comparison, here is my code [code] #include <iostream.h> #include <conio.h> #include <stdio.h> int main() { int i,n,m,k,j,tem,te; struct ways { char w[20]; } myArray[15],temp; int a[8]={0}; int b[8]={0}; textbackground(1); textcolor(15); cout … | |
Hello, I have made a "server" using winsocket. Its a console application and I already added wsock32.lib to liker. Here is error I get (by linker) [CODE]1>Linking... 1>server.obj : error LNK2019: unresolved external symbol __imp__mciSendStringA@16 referenced in function _main 1>server.obj : error LNK2019: unresolved external symbol _WSACleanup@0 referenced in function … | |
I have the following code for a slot simulator that I am trying to make; however the if statements don't seem to be working. Could someone please help me find out what is wrong? [code=cplusplus] // Slot Simulator.cpp : Defines the entry point for the console application. /* (%) Cherries.1 … | |
i know some basic programming in C... now C++ is a necessity for me.... i dont have any problem with syntax... my problem is i want to know what all i must study to get accustomed to C++ i.e. the concepts that C++ has and C doesn't.... | |
Product expiration dates are often encoded using numbers and letters which encode the month day and year. A common technique is to use letters instead of numbers in the dates. Assume that ACME Bakers encodes the months using letters "A" through "L", each digit of the expiration date as the … | |
i am using visual studios 8 and have added the Platform sdk include and library files to visual studios. and i am when i debug my programs i get the following errors. (the program is just a simple shell program) the code for it is as follows: [code=cplusplus] // include … | |
I need to write a C++ program that can be used to calculate the date of any Easter Sunday which can be computed as follows; Let X be the year for which it is desired to compute Easter Sunday. Let A be the remainder of the division of X by … | |
can someone give me some example code to develop a multitasking program consists 3 lines. lines one produce A and B where line 2 receive A and line 3 receive B... im new in C , can someone show me a example for reference.. TQ | |
everything seems to go fine except when i get to the search. either the program runs with a runtime error ,and it cannot be excuted. [code] /***************************************************** Program Filename : post.cpp Date : May 27, 2007 Purpose : NC code convert Input from : a cls data file Output to … | |
I need help so bad. I don't understand enum and I have tried to take the code below and change it from the Switch to using an enum & an array to supposedly make it easier. I don't know how to take the user input that is string and put … | |
Is the common language runtime the only way to develop graphical user interfaces in c++? That had been what I thought until I read a gaming thread( how to develop board games in c++ ). A dll, which i have to use, refuses to work with the clr (i am … | |
Hi, everybody. The question is : if the user input a set of numbers, you don't know how long the set is, like 1, 2, 3, 4, 5, 5, 5, 6, 1, 3, -1, -12141, 123, -1...., you are asked to find the dumplicate numbers in this set. I mean … | |
Hi all ! what is the difference between Dll and process ??? amit | |
How to make my Pocket PC Application run in background such that when some event occurs it displays a notification and if i click on it, the applcn window should show. | |
i want to calculate the running time of my program in C++ compilier TC300, please explain each point | |
SO I am trying to write a program in C++ that take in Grades 1-5 and how many cans they collect. This program needs to add the cans they collect then print them. I am very new to C++ and I am better at writing Pseudocode than actual C++ languange … | |
I have to write a program for class and it is suppose to read in an unknown number of employee records from a text file and each employee string has 47 characters, which includes name, employee number and hours worked, rate, overtime, and a few other variables. The problem I … ![]() | |
Hi all, I already know 60% of the BASIC syntax of c++. I would like to experiment with creating a GUI application however I have no clue were to start. Could you kindly provide me with a name of a good book which focuses on Simple GUI creation and simple … | |
i wrote this program to input 12 intigers (mustuse linked lists), sort it while its being inserted, then take the average, then take out the numbers that are greater then the average and make a new lists, then take a second list of 12 intigers, then lastly merge those 2 … | |
I am trying to make a program that already have a picture in it(picturebox) and finds the brightest pixel and labels them(label) I am programming in Microsoft Visual C++ Express edition if that helps at all | |
They seemed to make sense to me, until I read somewhere than an example of a constructor is [code] std::ifstream myFile("filename.txt"); [/code] ..the author went on to say that (obviously, in this example) they can be called after an object is instantiated, ie: [code] std::ifstream myFile; // some code here … | |
Ok I am wanting to [URL="http://www.daniweb.com/forums/thread81491.html#"]download[/URL] the newest version of the gcc compiler and emacs or gedit to run with PowerShell. I was hoping that someone could give me detailed instructions on how to do so. I am using Windows XP. I believe this is the right place to ask … | |
My work uses Powershell, I was wondering if someone can explain to me how to write c++ with it, if I even can, also what compiler to get for it, and where I can get it. Thanks -kylcrow | |
im making a timer program. that when a user dont input something in a specific time. the program will go to another menu so far in my research. threads would be the solution to this. but in my current status right now as a c++ programmer. i dont think im … | |
I'm trying to solidify my understanding of some vector concepts. 1) interators are "smart access" in that they can keep track of the array position and size. 2) the access element operator [] is the "dumb" access to the vector. Also, I was experimenting with ways to dump the contents … | |
Guys I'm trying to see if I can use DEV to write plugins (DLL) for my animation program Maya. I'm having a little bit of trouble getting started. Once I create the DLL project I tried doing a build to see what I would get just with on empty project … | |
How can I execute a command like for example using system(); but execute so the program does not need to wait until the function returns before it continues. Also when executing a command using system(); can you make it so that the console window does not pop up onto the … | |
I'm studying C++ beginner book for a while and now I'm learning a function call by reference. I understand how but I don't understand why.... I solved the problem which is in my book. Problem: Create a void function called round() that rounds the value of its double argument to … | |
Hi guys and Gals, Have some trouble digesting some facts about Casting in C++. 1). Why can't we use a static_cast for safe downcasting on a polymorphic class? 2).Consider this snippet.. [code] [COLOR=green][COLOR=green][COLOR=green]class[/COLOR][COLOR=green] A {};[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]class[/COLOR][COLOR=green] B { public: B (A a) {} };[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]A a;[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]B b=a;[/COLOR] [/COLOR][/COLOR][/code] [COLOR=green]How … |
The End.