Web developer
- Interests
- C++ VC++
- PC Specs
- AMD Athlon 2.6GHz Windows XP
Re:
How do I write a recursive function in C++ to display a triangle of * like this using a parameter size (e.g. 4 in the following example): * ** *** **** I am able to write a recursive function to display an inverted triangle like this: **** *** ** * … |
|
Re:
You can access the sound chip to play midi voices using winmm.lib, or in case of Dev C++ the libwinmm.a library. There are 128 midi voices to pick from, anything from the Acoustic Grand Piano = 0 to the Gunshot = 127. |
|
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:
Here is my assignment. 5. Assignment: Using the code given below develop a solution to the game Tic-Tac-Toe. a. The game is played between a human user and the computer. The computer’s moves are made randomly. You must get 3-in-a-row to win; getting five of the nine squares is a … |
|
Re:
I am trying to code the below program using overloaded function which give me output is the answer in correct or not for the three different question, the answers are already provided in the program all I have to check the answer and give the output statement if the answer … |
|
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:
Hi all, I'm having a heck of a time with our latest assignment. I've tried everything I can possibly think if to make this work, but with no luck. We need to Load an inventory text file, sort it, search it(haven't even got to that portion of the code). I … |
|
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've been studying VC++ for about 2 months, and I was working on my first game from a book (Game Programming All In One) The game is 'Craps', it's a dice game. Anyways, I've had a few prolems with the codeing, can someone help me? (Windows 32 Console) Here is … |
|
Re:
Pseudocode is still somewhat confusing and I've been reading and this assignment for the a while now and I wanted to make sure I am understanding what's being asked of me. Could someone please tell me if my pseudocodes are correct? Question: 1. Using pseudocode declare a Real number named … |
|
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:
I have started to solve them but no use, im a beginner :o with easy solution please,i will be greatful.. I hope that im didn't ask to much. Q1)Write a program that read two integer and determined and prints if the first is a multiple of the second? {Hint: Use … |
|
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] |