132,726 Archived Topics
Remove Filter ![]() | |
Hello there, I've been studying c++ for about a month. Currently, I'm indulging my self to pointers to be used in classes and functions because i have to familiarize myself with threading. Any of you here knows some good tutorials in threading, preferably html based tutorials. Or, suggestions on what … Software Development c++ | |
Hello there, I'm practicing structures and accessing data in a structures. I have here a program that gets an input of string and int from a user. I placed it inside a loop where every time the loop refreshes, it changes the information it gets. My problem is, how do … Software Development c++ | |
Hello I was wondering if someone could help me with a family tree function in scheme. What I have right now is: [code];;proper-blue-eyed-ancestor?: ftn -> boolean ;;consumes:an ftn ;;produces:a list of all the eye colors of the people you can get to ;;from that node (define (proper-blue-eyed-ancestor? a-ftn) (cond [(empty? … Software Development | |
| |
hi this is akash i am doing project in java, i have some code in CGI , now i have to transfer that code in to javascript, can any one help me .it is very urget,please help me. Software Development java javascript perl | |
i have here a code that uses pointers to manipulate data in a class...i have a problem of how to show them on screen...i think im using an erroneous syntax...lol... [code=c] #include <iostream> #include <string> using namespace std; class MyClass{ public: string first_name, last_name, id_no; int age; }; int main(){ … Software Development c++ | |
[B]My code seems to stop working after first prompt for please insert money can anyone tell me where in my code am I lacking.[/B] [code=c] #include <stdio.h> int main() { char drinkchoice; float insert; float money; float totalinsert; printf("How much do you wish to insert: "); scanf("%f", &insert); if(insert < … Software Development c | |
after compiling wxgtk.. and this format: g++ sample.cpp `wx-config --libs --cxxflags` -o sample it can compile but if you run this the error is:: ./sample: error while loading shared libraries: libwx_gtk2_aui-2.8.so.0: cannot open shared object file: No such file or directory but all its lib.. where installed i dont know … Software Development c | |
Hi; can you check this for me : [code] Time Time::operator-( Time & other, Time & other2) { Time t3; t3.hrs=fabs(other.hrs-other2.hrs); t3.mins=fabs(other.mins-other2.mins); t3.secs=fabs(other.secs-other2.secs); return t3; } bool Time::operator!=(const Time &other) { return (hrs!=other.hrs || mins!=other.mins || secs!=other.secs); } [/code] this error apear while runing the prog. [code] : error C2804: … Software Development c++ | |
hi ^^.. i have another question ,, it may sound stupid but what should i do , i'm just a beginner ^^.. if i am reading a digit from a file as a char. and then i want to read it again as an int.as an int. with other digits. … Software Development c++ | |
[B][COLOR=red]I am totally new to vb.net programming.[/COLOR][/B] [B][COLOR=red][/COLOR][/B] [B][COLOR=red]Can anyone help me regarding the process to retrieve and update data from MS Acess using window forms in VB.NET...[/COLOR][/B] [B][COLOR=red][/COLOR][/B] [B][COLOR=red]Would be very thankful for your kind replies....[/COLOR][/B] [B][COLOR=red][/COLOR][/B] [B][COLOR=red]Please reply at your earliest...URGENT!!![/COLOR][/B] [B][COLOR=red]Thankyou.[/COLOR][/B] Software Development vb.net | |
Hi, can you please help, where is the windows form code generated in vb.net 2005? Software Development vb.net | |
Hello; steps are correct; there is no error ; but when running the prog. this what apear :(its in attach) this is my code and the main: [code] template<class Type> void sortQueue(queueType <Type> & q1) { queueType <Type> q2; queueType <Type> qresult; Type min=q1.front(); q2.addQueue(min); while(!q1.isEmptyQueue()) { q1.deleteQueue(); while(!q1.isEmptyQueue()) { … | |
hi i want to know that if we are giving a namespace in C# what will be the impact Software Development | |
I came across a simple way of quicksorting linked list which is same as iterative version of quicksort for arrays... [url]http://www.openasthra.com/c-tidbits/sorting-a-linked-list-with-quicksort-simple-algorithm/[/url] worth a look... Let me know if you have any other simple algorithm for QuickSort (for sorting linked lists), should be easy to understand... Thanks. Software Development algorithm c linked-list | |
Hello, So I created a simple game with the use of Applet and I noticed I would get lines going through it as repaint is called. Is there a way to make it work smoother or a way to have layered images so that only a few images have to … Software Development java | |
Hello guys , I'll start with my code: [code] package testapplication; import java.util.HashMap; public class Main { /** Creates a new instance of Main */ public Main() { } /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here … Software Development java | |
this is a code to make a calculator but it doesn't work i didn't find the error:@ Software Development assembly | |
Hi all I created [URL]http://pyarticles.blogspot.com[/URL] for Python knowledge. Let's check it out please Software Development python | |
How do I best get a full display screen window using wxPython? Software Development python | |
Is there a way to recognize when a key is pressed in 32-bit masm? I know you can use interrupts in 16 bit, but how can this be done using 32-bit, since 32-bit is protected by the OS. Thanks, Tyler S. Breton Software Development assembly | |
Hello About half year ago I was interested in Direct3D 9/10 programming, but I released that DX isnt for me. Im not really interested into a game development. I know C/C++ basics, some Win32 API and some QT4 basics. Now, I'd like to try OpenGL. I am looking for a … Software Development api c++ opengl windows-api | |
Hi. I'm trying to learn about using threads in java, so I decided to try to make a new thread in which an alarm rings while the rest of the program continues. My program is supposed to go about it's business graphing some data, and then if the data exceeds … | |
Hello, I am working on an assignment for my Perl class where my script goes out to a web site, extracts some information and is supposed to email the relevant information to an email address specified in the command-line argument. So far, I am able to extract the information from … | |
Hi, I am reading ahead for a C++ class that i am taking next quarter. I just read stacks and queues and know how to implement both seperately. I was wandering if there is a program that has been written in which both stacks and queues were implemented in one … Software Development c++ | |
Please help me to Write a program "to print the sum of the main and sub diagonal elements" Thanks all. | |
Hello everyone, I'm just returning to C++ after a (very) long break. Ignore the form and purpose of this program, it's just an experiment to get me reacquainted with the language. I put my problem in the comments... thanks in advance. [code=c++]// Trying to get back into C++. // It … Software Development c++ | |
[code] class base { private: int i; void seti( int i_temp ) // :i(i_temp) ->Initializer List not working { i = i_temp; } public: base() { } base( int t ):seti( t ) { } }; [/code] error C2436: 'seti' : member function or nested class in constructor initializer list. … Software Development c++ | |
Ok, so I'm making a program in c++ that keeps track of the number of objects you make for a specific class. It works, but I added a part to change the screen output at a specific number of objects and that's where it broke.... heres the program: [code]#include <iostream.h> … Software Development c++ | |
i want to get the index value from selected rows of data grid.. how do i get it? can anyone explain... Software Development | |
Hello!! I have a working login/password form which reads the stored login/passwords from Access, but I am trying to make it so the login and password is case sensative? :) Thanks! Software Development visual-basic | |
Hi all... I have a datagrid with values bound to it from a table..I have a check box in every row of the datagrid.If i check the check box and click the delete button present in the form,the checked row of the datagrid should be deleted(ultimately deleting the data from … Software Development vb.net | |
i dont know if this code is right because i'm trying to create a program that display the fibonacci value of a number with FUNCTIONS combining pass by the VALUE and pass by REFERENCE please i needyour helpfor my preparation for my exam [code]#include <iostream.h> void fibonacci(int, int&. int&); int … Software Development c++ | |
Hi... I have a static library, libxbgi.a. When I want to properly link a program with this library I have to write: [INLINECODE]gcc prog.c -o prog -lm -L /usr/X11R6/lib -lX11 -L. -lxbgi[/INLINECODE] It is cumbersome to write such a long command line. Is it possible to pre-link the libX11.a and … Software Development c | |
can someone suggest me ho to get good compiler that can work efficiently ? what about gnu/gcc? Software Development c++ | |
Hi. Pls copy paste this to your form module. [code] Option Base 1 Private Sub Command1_Click() Dim mArray(15) As Integer For x = LBound(mArray) To UBound(mArray) Print Format(x, "!@@@@@@"); Next x Print For x = LBound(mArray) To UBound(mArray) Print Format(x * 2, "!@@@@@@"); Next x End Sub [/code] There's a … Software Development visual-basic | |
Is there a VB function to allow you to construct counters using different number systems ie base 3, base 4, base 5, 6, 7 etc ? I haven't used VB for a while and I'm getting a headache trying to think how to get started on this, I just need … Software Development visual-basic | |
I am trying to code frogger (yes still) and For the highscore... when the user first runs the application there is no text file for the highscores. How would I go about making it? or an If statement like: In PsuedoCode: If File Does not Exist Then Create HighScore.txt Else … Software Development visual-basic | |
How do I pass data in string from a form to another? i'm trying to pass the option selected on my list box from one from to another to be displayed in a text box. how do i do that? thank you Software Development visual-basic | |
i m new in VB just self-learning.. if i wanna build a menu.. however, somewhere is highlight and seems wrong.. please help.. [U][I][B]ck_chick.Value = 0[/B][/I][/U] <--- is it wrong? [code] Option Explicit Private Sub Form_Load() Print "1" End Sub Private Sub Command1_Click(Index As Integer) Dim food1, food2, food3, food4 Dim … Software Development visual-basic | |
hello everyboby do you know how am i going to make an mp3 player menu in visual basic? Software Development visual-basic | |
hi! i am trying to add new features on a third-party webmin module vsftpd.i want to add radio buttons that enables/disables textboxes and i think i have to do this using javascript but i couldn't embed the javascript code into perl, how can i do this please help me!! Software Development java javascript perl | |
I need you to help with this.... I always get confused when a program that appears simple takes me long time to finish, and i always think that i am not up to the task... i always think that a good programmer is not suppose to take that much time … Software Development c++ | |
Hi all I had made a post a bit ago and had a few responces, they all really helped and I got past that part so wanted to just finish up and needed a bit more assistance so far I have everything i need outputing to the window with cout<< … | |
Why both of the next examples are the same? Ex1 : int*(*foo)() = Function; Ex2: int*(*foo)() = &Function; Notice: In the second example i'm using & operator. That means that c++ takes function name as an address of it and this () dereferencing it just like in arrays? Software Development c++ | |
hey guyz... im trying to convert this formula into java code, im just having difficulty understanding it... ok it goes like this: Given loan amount (denoted by a), monthly interest rate as a decimal number (denoted by r). and monthly payment (denoted by p), the loan duration (in months) can … Software Development java |
The End.