Web developer
- Interests
- C++ VC++
- PC Specs
- AMD Athlon 2.6GHz Windows XP
25 Posted Topics
Re: I'm sure there are a lot of better answers than mine, just wanted to let you see it: [CODE] // i will be the limit to finish the recursion // j will be the limit to paint the line void triangle(int i, int j){ if(j < i){ // If the … | |
Re: The code works perfect in DEV C++, but it does not for VC++ (I am running Visual Studio 2005). | |
How can I initialise a Datetime^ variable with current Date? I have this idea but I'm not sure: [ICODE] Datetime^ curDate = gcnew DateTime::Now; [/ICODE] Anyone? | |
Re: I did some work with your project. I know this is not what you're asking for, but I was bored waiting to see if someone could help with my question, and I decided to make something extra with your project. Hope You like it: [CODE] // The headers are still … | |
Re: Why did you put your functions inside main() ?, I think you should move them out. (I'm not an expert, so maybe I'm wrong) Result is an array of strings, when you use [ICODE]cout << "This answer is " << result << endl;[/ICODE] you must be getting something like: This … | |
Hello, can anyone help me to finish this code? [CODE] ref class data_XML{ private: int service_code; wchar_t* name; wchar_t* address; wchar_t* phone; wchar_t* fax; wchar_t* web_page; wchar_t* city; wchar_t* additional_info; wchar_t* specialty; wchar_t* sub_specialty; data_XML^ next_XML; public: // Constructor data_XML(void){}; void next(data_XML^ next){ this->next_XML= next; } virtual String^ ToString() override{ … | |
I built a Visual Studio 2008 VC++ project, dialog based using HTML. In my HTML I have: [CODE] <form name="loadExcel"> Choose the file which contains the information:<br /> <input type="file" name="myFile" value="Search" id="myFileInput" /><br /> <input type="button" class="Upload" name="loadExcel" title="Import" id="loadExcelButton" /> </form> [/CODE] The user is supposed to browse … | |
Re: I really don't know how to work with files this way, but i made a few changes to your code and it worked (i didn't check if the program was working correctly, just got rid of all the error messages). Well, this were my small changes: First, you need to … | |
I'm making a project in Visual studio 2008. The details of the project are: - It is a MFC Application - The application type is Dialog based with Use HTML Dialog enabled - The project style is MFC standard and... - The use of the MFC is in a shared … | |
Re: I saw the following in your code: - You're missing the closing parenthesis of GetBet(void) - You're also missing the opening parenthesis on the switch(Bet) in DoMoneyCalc() - You are using break; break; in the switch(Bet) statement, you only need 1 break; - Also in the switch(Bet) you have default; … | |
Re: [QUOTE=confusedndazed;1052866]I apologize, yes that's what I meant. Did you find any other issues with my pseudocode?[/QUOTE] Your code is good :D | |
I have an Excel file with M columns (A, B, ..., M) that i need to open to extract it's contents using a visual c++ program. Does anyone know how to do it? The last row of the file is line 423 (first row contains the headers of each column). … | |
Hello, I wanted to ask about a new small program that ihave to do. I am supposed to take some information from an excel (the structure of this excel is fixed) and save it as an XML. I am still deciding if I should do it with Visual C++ (which … | |
For those who want to learn about windows, I leave the code I was looking for... "Programatically filling a ComboBox and setting it visible or invisible" [code] HWND hWndComboBox[10]; char numChar[20]; // String that contains a number converted to string int yPos = 160, xPos = 60; int counter1, counter2; … | |
I have this dialog box: [code] IDD_GRUPO_NOMBRAR DIALOGEX 447, 19, 226, 263 STYLE DS_SETFONT | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP | WS_EX_CONTROLPARENT CAPTION "Nombrar grupos" FONT 8, "Tahoma", 400, 0, 0x0 BEGIN CTEXT "Por favor numere los grupos",IDC_STATIC,65,8,92,8 GROUPBOX "Los grupos iguales deben tener el mismo nombre",IDC_STATIC,16,24,189,212,BS_CENTER | … | |
Re: if((a%b)==0){multiple} else{not multiple} examples: 6%3 = 0 5%3 = 2 21%7 = 0 24%7 = 3 | |
Hi all, finally the first part of my program is working, it plays a MIDI melody extracted from a database. How did I do it? A little MySQL++ and the Play midi voice article posted in the code snippets. But now I'm facing a problem... I am supposed to play … | |
I need to find a way to convert char[] to TCHAR[] I did my best to find it, but all I could find was char[] to wchar_t[] using... int swprintf( wchar_t *buffer, const wchar_t *format [, argument] ... ); Help please! | |
I have been member since few weeks ago, but I didn't introduce myself to the comunity. So here I am, my name is Andres, I am from Colombia and I have a lot of questions about C++ I am a web developer, with some knowledge in HTML, PHP, MySQL and … | |
Can someone help me with this? class Note{ private: [INDENT]double Freq; int milisec; [/INDENT]public: [INDENT]Note(); Note(double Fr, int ms){ [INDENT]Freq = Fr; milisec = ms; [/INDENT]}; ~Note(); [/INDENT]}; Ok... now I declare something like this: Note mynotes[MAX_NOTES]; is there a way to find out the array size? Thanks | |
I want to make a query in C++ using the MySQL++ API. Here is my problem, in PHP for example I make something like this: $query = "SELECT * FROM table1 WHERE id = " . $value; In C++ I can't do that. I need a way to make $value … | |
I have a little annoying problem and I really need help. I need to convert a char* to TCHAR* and I can't... I have tried everything and nothing seems to help... TCHAR text1[ ] = ""; char *key; key[0] = 'a'; key[1] = '\0'; text1 = _T(key); //Does not work … | |
Can someone start a tutorial about MySQL++ combined with Win32? I would like to learn about that | |
I need to create a Windows program which is meant for music students. The main frame needs to contain in the upper part a "word style" page with a partiture displayed, and the toolbar with the controls has to be in the lower part of the window. The idea is … | |
[I]I need to do something like Play MIDI voice (in the C++ code Snippets page 5), actually, that's exactly what I need, but I would like to make it work in Visual C++ 2005... can someone help me with the configuration steps to make the project work? TYVM [/I] |
The End.