- Strength to Increase Rep
- +15
- Strength to Decrease Rep
- -3
- Upvotes Received
- 178
- Posts with Upvotes
- 153
- Upvoting Members
- 94
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- programming, 3d modelling & animation, archery, martial-arts, reading, camping, hmm... what…
Re:
How can I change my program's icon for anyone who uses the program? Obviously I would have to include the .ico file with it, but beyond that, I'm stumped. |
|
Re:
Love the idea of the program. Im quite interested in seeing how to get something like this to work. Is there any chance someone could add a working version to the code snippets section or possibly send me a working snippet in PM? Im trying to educate my self and … |
|
Re:
Hi, I need help playing a sound in Visual C++ 2008. (Windows Forms App). I've tried many things searching on google, I used this method: [CODE]PlaySound("beep.wav", 0, SND_LOOP|SND_ASYNC);[/CODE] Then I get the error, "'PlaySoundW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR''. Can anyone help me play … |
|
Re:
Hi, I looked for this information, but couldn't find it anywhere. Is there a difference between a "template class" and a "class template" or are they just two different ways of saying the same thing ? Thanks a lot. |
|
Re:
Hi, I am writing a program to read from a file. I want to ask the user for the file name to open. I have tried to use the basic open file code from cplusplus.com and it won't work unless I specify the file name in the code. If I … |
|
Re:
I'm trying to make a program that solvas a linear system Ax =b with a n x n symmetric matriz and a n x 1 vector by gaussian elimination with partial pivotization. The program must search for the pivot element in each column. If the pivot isn't placed in the … |
|
Re:
Hi, I have developed a program in Delphy 2007, which shows .AVI files. Now I want to run MP4 files as well, but cannot achieve it. TMediaPlayer does not recognize the format by its extension. Is there an other player available or an upgrade for the one that came with … |
|
Re:
I have a backup program that used to work reasonably well. It used copyfileex to copy files from one unix machine to another. Recently it has been maxing out at about 5Mb/s So I changed to SHFileOperation and found it averages about 80Mb/s This is using delphi 7 on windows … |
|
|
|
Re:
I need a list of all available preprocessor directives in C. |
|
Re:
I wrote a template class named "Tree<T>" in C++ which attributes are : - T data - std::vector<Tree*> sons; I wrote the basic methods consisting of writing and reading in those two attributes. Now, I'm writing methods that return the min and max depth. I have no compilation problems but … |
|
Re:
#include "graphics.h" #include <stdlib.h> #include <stdio.h> #include <conio.h> #include<iostream> using namespace std; int main(void) { /* request autodetection */ int gdriver = DETECT, gmode, errorcode; int midx, midy; /* initialize graphics and local variables */ initgraph(&gdriver, &gmode, ""); /* read result of initialization */ errorcode = graphresult(); if (errorcode != … |
|
Re:
ok. for use menu shorcuts i must create a table accelerator and change my message loop. but can i process the table accelerator without use the HWND? |
|
Re:
**Quick Sort Using Double Linked lIst** This code does not sort the data in first approach.When i enter the sorting option two to three time then it sort the data.I think the problem is in recursive part.I am trying to sort the linkedlist in the same way as we done … |
|
Re:
Hi, I need to read text from file and then as outcome show separate words, but shuffled. I tried few codes but non of these works for me. I'm getting output, but it do not shows words, but some signs only. I'm posting both codes.. #include<stdio.h> #include<string.h> #include <stdlib.h> #include … |
|
Re:
Hello All; What i need to do is to display 1000 logs coming from the server into 20 rows continuously.Does anyone have any idea?? I am storing the data strings coming from the server into the vector container. And that i have to display continuously from 0th Row row to … |
|
Re:
I noticed this afew times and it only seams to do it on my own application and am wondering if anyone knows how to reslove this I have attached a image showing the theme problem for some reason my richedit scroll bar will go blocky and have spaces. any one … |
|
Re:
int find(int x) { for(int i=0;i < n; i++) { if(a[i]==x) return i; } return -1; } int find(int x) { for(int i=0;i < n/2; i+=2) { if(a[i]==x) return i; if(i+1 < n && a[i+1]==x) return i+1; } return -1; } int find(int x) { for(int i=0;i < n/3; i+=3) … |
|
Re:
How can I find the width of a command line window from a GNU C++-program ? I'll use this information to display a progress bar when copying files, so I need to know the width to be able to display the progress bar correctly. |
|
Re:
hello. I have to use a function in my phonebook program to sort the names alphabitcally here is what i have done so far.but what's wrong with it? void showAllContacts() { char t[40]; list *head; if(head == NULL) { puts("There are no contacts to display!"); } else { printf("\nAll contacts:\n"); … |
|
Re:
I am very confused with static functions. Can I override them? If no, then why? I searched web a lot but i am still not clear. Please tell with one example if possible. Thanks a lot. |
|
Re:
I am using Visual Studio 2013 and can't install any libraries(for school purposes)... I would like to display an image of any extension as long as it is an image (jpg/png/bmp...) I've been looking around forever now and just want to put display an image in my application. I am … |
|
Re:
fstream file; file.open("PasswordGenFile.dat",ios::out); In writing into a .dat file what does the following line mean? file.write((char *) this, sizeof(PasswordGenerator)); And how can i convert this bit of code if i want to write it into a .txt file? |
|
Hey all. I'm always frustrated that I cannot seem to find a reference that shows when a feature was *introduced* in Delphi. For example, to use ErrOutput, I have to manually create that value in D5. But what about D6? or D7? Does such a reference exist? |
|
Re:
Hi, I want to use Lazarus on my mac, and I went through the steps, installed the three packages at http://sourceforge.net/projects/lazarus/files/Lazarus%20Mac%20OS%20X%20i386/Lazarus%201.2.6/ . I also typed xcode-select --install into my terminal, which installed some necessary command line tools. The 'Configure Lazarus IDE' has recognised the compiler, FPC sources, and 'make', but … |
|
Re:
Is there a function to remove spaces from a string? I need a way to have a user input a string with spaces, numbers, and letters and remove all spaces before storing it. Using scanf, cin, gets or fgets, apparently I only retain whatever is before the first space. |
|
Re:
Hey guys, I am a new programmer just starting. The assignment my prof gave us has to deal with taking a file (the file is an equation, 5+2-3*2 for example) and calculating the result. The program also has to give appropriate errors when they arise. (missing operators, etc). I am … |
|
Re:
well i tried to execute the following code.. #include<process.h> #include<conio.h> #include<dos.h> #include<stdlib.h> #include<stdio.h> void main() { system("dir"); getch(); } but it did not execute the system command... what went wrong?? plz mail me at [email]prajwaludupardx_369@yahoo.co.in[/email] |
|
Re:
Hi all, I’ve been given told to convert a standard C++ program into an object-oriented one, using the principals of polymorphism, encapsulation and inheritance. Our lecturer covered all three principals in one 45 minute slot. I’m completely stuck and would be grateful for any help. The standard C++ program accepts … |
|
Re:
HI i got stuck in this program please help me and provide me the source code,.. |