49,761 Topics
| |
I have a VC++ dll and i want to call it in my C# Windows Application. How can I do it? | |
hey everyone, I am including my code and was wondering if there is a prefered way to document? I have comments which describe what does what, but I'm wondering if there is a neater and/or more efficient way to do it... /***************************************************** * COSC 230 - Structured Programming * Chapter … | |
There are three main type of methods in C++ I read somewhere but I forgot where exactly and in which article did I read that. But it is something like Access methods, Modify methods and the third one.. I think it is managerial method. But not really sure. Can any … | |
Hello folks I'm trying to simulate a magic square algorithm, but having some problems. The program successfully creates the magic square, but when I'm trying to print it, the VC2005 compiler says "vector subscript out of range", which it shouldnt be. Any help would be appreciated. Cheers Here's the code: … | |
[CODE]#include <iostream> using namespace std; int main() { char function; double num1, num2; char option; option = 'y'; cout << " Please enter two numbers: "; cin >> num1 >> num2; cout << "\n + for addition "; cout << "\n - for subtraction "; cout << "\n * for … | |
[COLOR=DarkSlateGray]I am trying to write a file with extension h and a cpp file. When i try to compile the cpp file it gives me an error that says. [Linker error] undefined reference to `counter::counter()' . Could anyone help me out please. I am using a Dev.c++ compiler Here are … | |
Can anyone please help me to display system date and Time in VC++ 6.0 I need it very urgently | |
i want to initialize an array(set all elements to 0) . The array is to be used by different functions which r defined outside the class. obviously i cant initialize it in the class. and if i do it in a constructor or main(), it isnt recognised by all the … | |
Hi guys, I need ur help. If I have character strings (data array file) as below: X001234 X001345Y002323 X00142 X001567 How do i program, if I want to enter Y002323 to the next line? and how I can add '0' character after X00142 so that the the array is like … | |
I am using c++ and would like to know the easiest way to turn decimals in to the form hours:minutes:seconds. You can assume the integer is in the form of hours (e.g. 242.4 = 242 hours 24 seconds etc) Also, I would like it so that seconds is to one … | |
Hello, I am new to this. Hope I won't break any etiquette unknowingly. I DID my homework, I believe ... I'd like to get C/C++ code which allows me to get the path of the active application, ideally in the format of char. I wrote a program for which I … | |
Hello people, I am new to this community and the only reason for why I joined here is to learn and get all my doubts clarified as I am learning C++ all by myself and also I dont have any computer literate people around me in my place. I started … | |
Hii please help me to find a solution for this I want to display system time in 3D using Directx.for that I want to display System time(hr:min:sec) in VC++6.0. | |
Hey. I kindof posted tihs before but it didnt have a good title. But, I had to implement the functions of a Hash Table template... I wasn't sure exactly how to do it, but I figured out a way to get it to work. I'm not positive if I did … | |
I'm carrying this around in my signature at the moment, because I found the statement somewhat amusing: [quote] class `Matt' is implicitly friends with itself. [/quote] (Of course, the class wasn't really called Matt. I like the look of my own name. Perhaps). Preamble aside; the more I think about … | |
I'm having some trouble understanding how Exceptions thrown from constructors work... Let's say I have a class like this: [code=C++] class A { public: A() { if( error ) throw MyExp; } } [/code] If I try to define a variable of type "A" within a [inlinecode]try {} catch {}[/inlinecode] … | |
When i start up my computer i get a Run Dll error, and during my computer time i get an error about buffer something and it causes program instability and when i click OK all my icons are gone and my task bar... and they stay away until i restart … | |
Dear all, Now I have a small program to communication via RS232 cable with 3964R protocol that is written by Borland C++, however I don't under stand it can be used on Win98 only. Any body please show what I could do to use this program on Win XP. Many … | |
A person ineed deserves books indeed! Umm any college like books we know of that I can get?? From C++ to the end! Maby not way end but enough to build a game! Other post disregard Noones responded to it in the last [B][I][U][COLOR=purple]48[/COLOR][/U][/I][/B] hours! | |
Hi, I can't get the following code to work. I have my converting constructor (second line) to change an int type to a car type but my compiler says there's something wrong with the overloaded + operator. It says here in my book that if I want to do an … | |
[COLOR=darkslateblue]Please help me!!![/COLOR] [COLOR=darkslateblue]How can I do the below ex. , please help me!!![/COLOR] [COLOR=red]Description: [/COLOR]In this assignment you will implement the ADT Stack. You will be using stacks in order to count the pairs of three types of brackets: {}, [], and (). The input will consist of an … | |
access c++ private data members without using the " Friend" type main() can be a friend function? | |
How do i dereference a pointer to something in a class without having to write another function to dereference it for me? For instance in this code: [CODE]class Fraction { public: Fraction(int left = 0, int right = 1); Fraction(Fraction & obj); ~Fraction() { delete fl; } double getFraction() { … | |
can someone tell me what is wrong with this code? We are supposed to use recursion to see if the two arrays are equal. [code] int Equal(int a[], int b[], int left, int size) { if (a == b) { return Equal(a, b, left + 1, size); } else return … | |
Using the skeleton below #include <unistd.h> // read/write #include <sys/file.h> // open/close values #include <string.h> // strlen int main( int argc, char *argv[], char *env[] ) { // C++ or C code } Write a C++ application myrm that removes (deletes) files passed as command line argument. Use only the … | |
hello everyone, i used the method substr() in a c++ program . I now need to convert my program in C. Does anyone know if there exists an equivalent of the method substr() in C??? | |
iv written a code that insert a node befor a node containing a certain value(for example insert a node having value 3,befor the node containing value5),i checked the code many times,i couldnt find any mistake, but the compiler errors this part. can any one help. here is the code : … | |
Hi, I am reading textfiles in a structure like this: [CODE] ifstream TextFile; TextFile.open("quote.txt"); while (!TextFile.eof()) { TextFile >> Quote[RecordNumber].RefNumber; TextFile >> Quote[RecordNumber].Surname; TextFile >> Quote[RecordNumber].Initials; TextFile >> Quote[RecordNumber].TotalCost; TextFile >> Quote[RecordNumber].DeliveryCost; TextFile >> Quote[RecordNumber].Guarantee; TextFile >> ws; RecordNumber++; } TextFile.close(); [/CODE] However, this needs to be put into a … | |
I'm so sorry for asking but where should I insert or save C++. I'm skilled in html css and javascript but I don't get this. | |
I'm so sorry for asking but where should I insert or save C++.:rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes: I'm skilled in html [URL="http://www.daniweb.com/techtalkforums/thread71182.html#"]css[/URL] and javascript but I don't get this. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Test</title> <script type="text/javascript"> function test() { alert("NIET KLIKKEN VERDOMME") } </script> <script type="text/javascript"> function startTime() … |
The End.