132,726 Archived Topics
Remove Filter ![]() | |
i want to create a warehouse program for school using the random access file management. i built a class called product(prodotto) with many private var and i must create a new record. The function checks if the product already exists with the seekg pointer and reading the file. After u … Software Development c++ file-system ios | |
Hello, I have built a GUI for the world of Zuul, the input can be taken by pressing buttons and enetering text commands. the output is both a change of images and text output using System.out.println(). When I press the directions buttons, the central image changes correctly. but the script … | |
Has anyone used a card reader with vb6 and can you recommend one to get? I want to issue cards with names for players so they clock in to start the poker game and during poker slide to clock out where the program will determine their position and any points … Software Development visual-basic | |
My problem I am having is when I use execl, it close my main program. I want the program I create can open other programs or create other actions with linux. I am looking to help getting on the right path. Should I be using execl? Why does it close … Software Development c++ | |
Hi, Could anyone solve this for me. I'm using VB 2010 and Access Database file. The database consists of a table called 'usertbl' with 'username', 'type' and 'level' fields. The records are as follows: Record 1 - Username: admin Type: admin Level:1 Record 2 - Username: user1 Type: user Level:2 … Software Development dataset microsoft-access open-source vb.net | |
All, I am pulling my hair out with this. I need to make a constant String avaiable to all classes in my program and I can't figure out how to do it. This is a simple console app... I've tried the obvious, `public static const myString = "whatever";` but I … Software Development | |
Why does the function *def human_move(board, human)* need to receive board *and* human? won't it work the same if it just receives board? *def human_move(board)* # global constants X = "X" O = "O" EMPTY = " " TIE = "TIE" NUM_SQUARES = 9 def display_instruct(): """ Display game instructions. … | |
Hello,,, How to make the GUI frame visible? I have looked and this is what I came up with: Interface gameInterface = new Interface(object1Instance, object2Instance, this) gameInterface.getFrame().setVisible(true); is this the way it should be? I have refrained from using a singleton class because I wanted to pass instances of other … | |
Hi, i'm new to c# and need help on designing a programme. I need to create a 2d array which has to accept 12 values (3 verticalx4 horizontal)(with decimal places) . I have to be able to input the values of each element in the area using the console. I … Software Development | |
I am currently working on a very simple project. But I am having problem with special characters. The one character which I find very annoying is ' . This single quote / aphostrophe is ruining my project while entering names like "James D'souza". Can anyone please help me in recording … | |
To open a new window in vb by clicking a button replacing the previus windw Software Development visual-basic | |
Hello, I have a datagridview, connected to my database using Nhibernate and my question is how can I exit the Select Mode after I update? Cause at the moment after I click update and it updates, the edit mode is still on, I would wanna turn it off when I … | |
Hi guys. I was wondering how Cnet Downloader, and ninite.com works. Is there a backend server which compiles the exe file before every download? Is there any other way to modify something in an .exe file without recompiling? Thanks. Software Development c++ | |
| |
Hello people, I am new to crystal report. Normally, I would insert columns in the crystal report viewer and then look at the records at the Main Report Viewer. All the rows/records in that particular columns of that table will be shown. And then I found out about this SQL … Software Development sql vb.net visual-studio | |
At first, I have "C:/test02.txt" too good positive a film for stunt scheduling i think objective My codes with open('C:/test01.txt') as words: ws = words.read().splitlines() with open('C:/test02.txt') as file_modify4: for x in file_modify4: sx = map(str.strip, x.split("\t")) ssx = sx[0].split(" ") ## list for w in ssx: if w in … Software Development objective-c python | |
hello i have the following file: 11 Lockers, Daniel;Engineer;53500 Adamson, John;Manager;77500 Newhall, Bob;Programmer;40000 Brown, James;Clerk;28000 i need to put each employee into a struct and then each struct into an array. so far i did this: else { fscanf(sourcefile,"%d\n",&count); printf("%d\n",count); Array=(employeeType *)malloc(sizeof(employeeType)*count); for(i=0;i<count;i++) { fscanf(sourcefile,"%s",Array[i].name); fscanf(sourcefile,"%s",Array[i].job); fscanf(sourcefile,"%d",&Array[i].salary); } } for(i=0;i<count;i++) … Software Development c | |
Dear friends: I download a c packge for my computation work. there is a function " aft2boundar(int *, double *)" in it. i write a "main.cpp" with vs2010, when i compile, it gives me the following error unresolved external symbol "int __cdecl aft2dboundary(int *, double*) but i have include the … Software Development c++ | |
could you please help me find sites that offer free download of visual basic.net? your replies would really mean a lot.. thank you.. :) Software Development vb.net visual-basic | |
I have the following 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; namespace PentruTestari { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { richTextBox2.Text = "int int"; richTextBox2.SelectionStart = … Software Development | |
I need a example code to display one form input textbox value in another form textbox when button click event on form one. In simply form one contain textbox and a button, form two contain only one textbox. My requirement is when some one put text into form one textbox … Software Development | |
I have this code in C++ but I dont know ho to do it in C. Any Help? Code #1: #include <vector> // for vector #include <sstream> // for stringstream #include <iostream> #include <string> int main() { std::stringstring ss; std::string input, temp; std::vector<string>; comand; std::cout << ": "; std::getline(cin, input); … Software Development c++ | |
how to print the foll string without using any kind of variable "How are you %dad%" Software Development c | |
Dear all I write bubble sort program for inputing 9 numbers. However, when compile and run it, it only allows me to input one number only. Could anyone see any fault in my code? I think the problem is on the first loop. #include <stdio.h> int main(void) { int num1 … Software Development c | |
I have a function that reads a text file that contains information about the sql database it connects to. It has to be invoked across multiple forms. How could I make it to where it is invoked once and then stores into variables that the program can continue to use … Software Development vb.net visual-basic | |
Has anyone found any compilers to work with windows 8 besides Microsoft studio? I have tried downloading Dev C++ and code::blocks but keep getting build errors? I have used both of those compilers on window 7 for multiple programming purposes Software Development c c# c++ windows-vista-7-8 | |
The following line of code should result in GROUPS holding a number from 1 to probably 4 or 5. I need the next line to simply add 1 to whatever this lines results to. I've tried a lot of tings in bash but I can't make it happen. Any ideas? … Software Development shell-scripting | |
I need to remove a certain color, like for example, 0xFFFFFF (Color.White) would remove all the white in an image. Thanks :) Software Development image | |
why their is a difference between os.getenv('PATH') and sys.path ? Software Development file-system python | |
Hello can i ask,.because i am a student of java programmer i want to asking how to fast learner of the program,.please help me i want to be a proffesional programmer,.thanks,.. Software Development java | |
Hello, I have created a program where a user can input a recipe, and then press a button and this will then be written to a file. On the other side of the interface, the user can select this previously saved recipe and the contents will be read from this … Software Development user-interface vb.net | |
Hi there, I am using code blocks and working on bank account programe. I have three classes but just included main function code. My programe works all fine, in which user create account and then deposite initial balance **but before end of do while loop, there is getline function to … Software Development c++ | |
am frederick sekyi and am new to this website.can any of you help me with computer programing? Software Development c | |
Hi, I've been Searching the Net for hours now, and i can't really seem to find anything clear and straight to the point. I need to create a Server/Client application using VB.net 2008, it's actually my first time to have a database on another computer. So I first searched the … Software Development client-server mssql open-source sql vb.net | |
hello experts . . . there is one textbox , one label and one command button i have written following to print textbox content to label `label1.caption=text1.text` and when & is inputted in textbox then underscore(_) is placed in the place of &. and i know that we use & … Software Development visual-basic | |
Hello there Good Day Guys! I need your expertise for vb6 guys i made a small program with command search button. Its working. My problem now when i search again with different category it shown this error [COLOR="Red"]Run-time error '3001' Argument are of the wrong type, or out of acceptable … Software Development visual-basic | |
I am working on a project about data mining. my company has given me 6 million dummy customer info of twitter. I was assigned to find out the similarity between any two users. can anyone could give me some ideas how to deal with the large community data? Thanks in … Software Development c social-media | |
Hi, I had previously posted many question on SSID and have been solved successfully with your help. Once again the question is related with SSID. When i have my wireless router attached to PC, i can see the router name . Is there anyway to stop broadcasting the SSID name … Software Development c++ | |
Hello I am trying to write to a text log file for my world of zuul game. I have created a Class Logger to write into the file, here is the code: import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; public class Logger { private BufferedWriter out; public Logger() throws IOException { … Software Development java | |
how ca send the packet using button send to the serail port i recieved the packet but how send this packect through the serail port thanks for your reply the code is Imports System Imports System.ComponentModel Imports System.Threading Imports System.IO.Ports Public Class frmMain Dim myPort As Array 'COM Ports detected … Software Development vb.net | |
Hello Friends, Can anyone tell me how to increment a String variable by 1 in database. Suppose the database table has value as SL1000 and we want the next value to be SL1001. What should be done for such type of requirement in java. | |
A person wishes to add a NEW Job to the database. A `Combobox` list the existing employers already in the database for the new Job to be added against. But if an employer is not present customers have the option click on a button to add an employer. Once added … | |
I've got an array CALENDER=(31 28 31 30 31 30 31 31 30 31 30 31) I have two if statements that Need to get an index from the array above but when I feed a value into the brackets e.g. ${CALENDER[${SECONDDIGIT}]} or ${CALENDER[${FIRSTDIGIT}]} it seems to only be getting … Software Development shell-scripting | |
![]() | http://en.wikipedia.org/wiki/Transposition_cipher#Columnar_transposition This is wiki site of what am trying to do #include <iostream> #include <cstring> #include <cmath> using namespace std; char GRID[3][80]; int MENU(int menu_choice); int REVIEW_OF_GRIDS_FIRST_79_CHARACTERS(int four); int main() { cout << " This is RAIL FENCE CIPHER\n" << endl; //----------------------------------------------------------------------------------------------------- //filing GRID with asterisks(*) char asterisk='*'; int k=-1; … Software Development c++ encryption |
Hello I am trying to write a multiplication table into a function but am not getting the result i want ive been looking at it for about 3 hours now and cant figure what is going on im not getting errors it runs fine but isnt givig me a neat … Software Development c++ | |
Hi I am populating my combobox with table's data (example table name is "ITEMS" and table is having only one column and that is displayed as combobox items). In my form i am having i combobox,button and textbox. I will enter a new item in textbox and if i click … Software Development | |
My program is nearly done.But my function SumN doesnt print the correct output. SumN have to output the Sum of numbers that belong to the interval [a;b]. Example: input a=1 b=10 1 4 13 45 10 output sum=15 but im getting 60 and in should be 15. Can sameone help … Software Development c | |
I am populating datagridview(10 columns) with dataset.I am changing 7th column from textbox to comboboxcell at run time if some value(say caste) in database table for row is null. If caste field is not null in database, then comboboxcell should display that value for that particular row.Below is the code … | |
how can i take 1's complement in making a java program? Software Development java |
The End.