132,726 Archived Topics
Remove Filter ![]() | |
Hello, I'm trying to use wxWidgets to get mouse, keyboard and joystick events without creating a window context as I'm using GLUT for that. Can it be done and if so how? All the examples I see have the events tied to some sort of visual context. Software Development c++ | |
I need to know if it is possible to store click event of a button in a variable. I tried doing it but didn't get any solution. Please help Regards Software Development | |
this is a far stretch but i found this fourm online and i thought i'd give it a shot since i dont know where else to turn to... I tried my best to implement the array into ascending order but i'm not sure if it's correct. I needed it to … Software Development java | |
![]() | I am currently working on a project called movie reservation and I am almost done, the only problem right now is the seats. I have no idea how I can display 200 seats and identify whether a seat is already taken or not. Also, each row must be referred as … Software Development c++ ![]() |
Hi, I am getting the following errors: HelloWorldApp.java:54: <identifier> expected public static Vector<int[]> breakTheMovementVector(int i,int j){ ^ HelloWorldApp.java:102: ';' expected } ^ 2 errors [CODE] import java.io.*; import java.util.*; class HelloWorldApp { public static void main(String[] args) { try{ // Open the file that is the first // command line … Software Development file-stream java | |
Hi people I need some help here. Here is the CODE : [B]for Form1:[/B] [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace practice { public partial class Form1 : Form { Form2 obj; public Form1() { InitializeComponent(); } … Software Development dataset open-source | |
hi, i have searched online and can't seem to find something I understand for a timer. I have a boggle game that needs to have a 3 minute counter so I figured I'd have a countdown from 3 minutes...but the only thing I've found in other peoples codes and the … | |
Hey Guys, I have the following code: [CODE] class A { int a,b; A(int i,int j) { a=i; b=j; } void showab() { System.out.println(a+" and "+b); } } class B extends A { int k=20; void showabk() { System.out.println("a="+a); System.out.println("b="+b); System.out.println("k="+k); } } class Test { public static void main(String … | |
Hi, I am seeking some advice about how to tackle a programming problem. I'm not wanting code just some suggested ways of handling the problem. I am trying to develop a program that displays images that have similar visual properties. For each image, and for each of the rgb colors … Software Development | |
hello guys and girls, im new to this forum.. so please be gentle :) Im developing this application to improve my ability to develop applications in c#.. so far i've fingured out that im not that good at it. I fetched out my old college coursework case study to work … Software Development | |
Hi, For the benefit of newbies here is a list of all the topics you need to know to program a connection using VB to a SQL Server database and develop a database software. 1. Network Operating system. 2. SQL Server 2000 Installation on a Client / Server Network. 3. … Software Development client-server database-design dns operating-system software-architecture sql vb.net visual-basic windows-server | |
i keep getting this error: [icode] error: expected ‘)’ before ‘,’ token[/icode] this is the code i'm using: [code=c] dragon(string str = "wild dragon", int level = 5);[/code] this is inside a the dragon class definition. [code=c]dragon::dragon(str,level) { name = str; tp = ((rand() % 6) + 1); type = … Software Development c++ | |
Hello, I have two forms (Main, Login) when the user logs in and has the right email / password.. I would like it so I can display the username on the main screen.. I have a class and I'm setting the values inside the class however when I try to … Software Development | |
[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FriendBirthdayReminder { class Program { static void Main(string[] args) { FileStream file = new FileStream("FriendsData.txt", FileMode.Open, FileAccess.Read); StreamReader reader = new StreamReader(file); const char DEMLIM = ','; const int END = 999; int count = 0,num,size; string name,recordIn; string[] … Software Development file-system | |
Hi. Can anyone help me with this code? I have a form which takes subject name, semester and class. I put this data in a database tables using 2 ADODC’s and the connections are as follows: ADODC3- LecturesAttended (StudentID, RollNo, Name, SubjectName) ADODC4- Student (StudentID, RollNo, Name,Class) I take studentid,rollno,name … Software Development visual-basic | |
Who can teach me how to make Class to store database location When want to use just call the location. Everytime I will write again the connection. When database location is change, I will change the database location one by one. This is time consuming and difficult to maintain program. … Software Development dataset open-source visual-studio | |
hello guys, this is my first post asking for a help. Actually i am a PHP/Mysql developer. i am newbie to vb.net and i am trying to develop a application which asks for a password when the user tries to open any.exe file for example: [CODE]Private Sub Form1_Load(ByVal sender As … Software Development vb.net | |
Hi All, I'm trying to disply the last part of a hyperlink using the expression builder in access 2010 textbox. eg. #\\abc.org.uk\Root\OurSrevice\OurTeam\Peter\Dump\MyDoc.doc# #\\abc.org.uk\OurSrevice\Team2\Folder2\YetAnotherFlder\Dump\View\MyOtherDoc.doc# In the first example I want to display MyDoc.doc In the second example I want to display MyOtherDoc.doc I suspect I'll need to use the RIGHT and … Software Development perl visual-basic | |
Hi all, I have some problems with my program, as it always compiles with segmentation fault after it run finishes. ANy help is appreciated [code] Program received signal SIGSEGV, Segmentation fault. 0x00375d37 in ?? () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0x00375d37 in ?? () from /lib/tls/i686/cmov/libc.so.6 #1 0x0804992b in Chord::isValid(char*) … Software Development c++ peer-to-peer | |
how to develop a smart pen using c#.net? Regards Dilake Software Development c# | |
So I have a program that runs a loop in main to call functions to show all seats with their name and to reserve seats. My code works fine to reserve a seat. But when I reserve a second/third/fourth seat the name I enter for that seat overwrites the names … Software Development c | |
I am trying to learn java. I want to know whats the best way of doing it? For example I got the code for setting up a TCP server in java which sends the data given in string. Now I want it to send the data dynamically to the client … Software Development client-server java ![]() | |
Hi all, I have been playing around with trying to create an english to pig latin translator. I am not really sure where to start, so right now I am just focusing on splitting a string and search for "A", if the word has "A" add "way" to the end … Software Development vb.net | |
I'm doing a function that returns the index of the largest integer in the array it's an easy function.I've done it but I don't know why the output is always 10 although i want to return only the index of the largest number and here is my code: int MAX_INT(int … Software Development c++ | |
I am having trouble figuring out a start off point for this project. Can anyone help me get started? I would really really appreciate it. I'll post the code and instructions below. Bluebird Airlines needs a program to assign boarding passes on its only plane which has a seating capacity … | |
This is a fairly easy homework, but I am new to c++ and would like some help. (to my teacher, if you happen to read this, I'm not trying to cheat, but get help to better understand the concepts in this assignment.) An overview: [INDENT]"Read an unordered collection of calendar … Software Development c++ | |
Hey, I'm new to C++ (1 week, used to do Python), and it's very enjoyable, but I have an issue. In the following code: [CODE] int sizeofarray; cout << "Type size of array: "; cin >> sizeofarray; int myarray[sizeofarray]; ...........more code [/CODE] That isn't the code, but that is the … Software Development c++ | |
#include<stdio.h> #include<string.h> void fn (int *ptr) { static int val=100; ptr=&val; } main() { int i=10; printf("%d", i); fn(&i); printf("%d", i); getch(); } The output of the above code is 10 10. why not 10 100? What is happening inside fn? Software Development c | |
Hello... I'm trying to write a program in C (using POSIX library) where the parent process should fork up to M processes and play "connect four" or "four-in-a-row" with each-other until one of them wins, and when that happens, the process should terminate. This can be done either via pipes … Software Development c | |
Greetings all!~ I'm a newb when it comes to C++ and could use a bit of help with this code. It is supposed to take any character input, store it in array and then if there are lower case letters make them upper case. After if goes through the first … Software Development c++ | |
Well, i'm really new into programming, and I'm not a native english sepaker, so please, if you dont't get what I'm saying don't get mad :) What I'm trying to do is this: [...] int i, numberOfStudents string studentName[100]; cout<<"Input the number of students"<<endl; cin>>numberOfStudents; cout<<"Input the student's names"<<endl; for … Software Development c++ | |
Hello, Can anybody explain to me how can I do: Implement the Random partitioning version of Quicksort. Take care that your data array is not copied (by value) into your subroutines, because you will sort the RandomEnglishDictionary.txt file. Report the first, 1000th and last elements in your sorted list. Thanks Software Development c++ programming-construct | |
anybody know how to sort item in combobox and listview in alphabert or numeric | |
Hi guys, I'm making a program that will display the actual balance output of a sound. It's going to be used with a game that uses 3D sound. What I want to do is have the application monitor audio output from the system -- it can use the Stereo Mix. … Software Development audio | |
Is there a way to define a property with default get/set functionality for a variable? Software Development | |
Hello, I am trying to compare two characters of different strings but it quits the loop. I know i am accessing the right chars caz i have tested it with print multiple times. [CODE].data mainNumPhrases: .word 4 mainPhrases: .word mainPhrase1 .word mainPhrase2 .word mainPhrase3 .word mainPhrase4 mainPhrase1: .asciiz "abcdefghijklmnopqrstuvwxyz" mainPhrase2: … Software Development assembly | |
I've seen this problem a few times and I've tried what they've done. I am still not passing my Array correctly. I'm all templated up because of last files I have used for this program (Not in the code). If that could have something to do with it let me … Software Development c++ | |
Here is my code, I would like to check my input for errors in the first and lastname parts. it means that these two parts should contin just upper and lower case letter and hyphens(cin must be used as well). [CODE] #include <iostream> #include <string> #include<cstdlib> using namespace std; struct … Software Development c++ | |
I have a simple if statement going from 0-360 in 30 degree increments. I want to store those values into into an array because I need to use them for simple calculations later. I think I need an dynamic array because what I tried below is not working. So I … Software Development c++ | |
I am working on writing a program for my C programming class in which we have to make a basic program that can balance a checkbook. It prompts the user for a starting balance, can add and subtract amounts, and should deduct a $10 fee if the user overdrafts. The … Software Development c | |
Hello, i would like to know how to implement the FileNotFoundException in my code. my code concatenate files from a Folder, it's working well even if there is no file. So i want to throw a message something like 'There is no file in the folder" If there is no … Software Development java | |
How can i run my Subclass where my GUI code are written from my Main Class?What codes should i write in my main class??Here are my codes: Main Class: my main class is blank because i really dont know what to write. [CODE] */ package classpkg; /** * * @author … Software Development gui java java-swing | |
Hi there, Does anybody know how to refresh a windows form after inserting into a database using a dataTableAdapter or any other method for that matter without having to close the form or use the fill method to reload the form? The problem with this is that you are taken … Software Development sql | |
Ok I drew a simple maze and what I am doing for collision to determine if you can move is use glReadPixels which I offset by the width of the square starting at the coordinates of the player which is passed to the function. Here is the function should someone … Software Development c++ | |
Hello all, So I am new to the whole STL List class, and I am a little confused. In the past I have always had two classes, a data class and a "linked list" class. So now I have a bit of a pickle when I try to make a … Software Development c++ ios linked-list peer-to-peer | |
Hello, I'm trying to crate a login form that basically logs users in.. Now, I have created the database, and queried the table to see if the user exists.. But how do you check if the query returns whether it is or not? E.g. in PHP you'd use like.. [CODE] … Software Development open-source | |
Hi there im really new to C++ and im supposed to be doing a maturity calculator and i keep getting error code c2661 no overload function takes 1 arguments. Please look over my code and let me know everything that i have screwed up on because im sure there is … Software Development c++ | |
I am trying to make a maze program. It is suppose to display the maze before it is solved, then solved. After that is should be able to random generate a different maze that needs to be solved. My problem is that when I compile I get this, Any suggestions … Software Development c++ | |
hi friends and seniors i want to play (add audio files, remove audio files,and other oprations) players(like vlc) through c++ coding in Ubuntu help me out. how do i do this. i don't even have idea... i know how to accept input from command prompt | |
so im taking the advice of 1ML, seems like a smart guy, and starting a second thread for the controversial, main calling, system calling, devil code, anyway i did take your guys advice and cut out the main calls and reduce everything to one fuction. however! ladies and gentlemen we … |
The End.