132,726 Archived Topics
Remove Filter ![]() | |
# 2-D string implementation # ## i am new to c.anyone please help me why this code is not working## #include<stdio.h> #include<stdlib.h> #include<conio.h> typedef struct{ char name[2][10]; }college ; int main() { college student; student.name={{"james"}, {"carter"}}; printf("%s %s ", student.name); getch(); } ** Software Development c | |
How can I control the position of text in a label? Thank you | |
I need a little help with the below code. I am basically reading text from a .txt file and need to be able to convert the text into an array(fam6) that i can then search for a value that is typed into a text box. If said text box search … Software Development c# visual-studio | |
I have got a simple naughts and crosses game working, can someone tell me a simple def blah(): .. command to check if the player has already moved to a place on the board already taken.. E.G Player's first go = top left Player's second go = top left.. (message … Software Development python | |
Hey guys, i have been working on this for a while and global doesnt seem to be doing anything; help? Row1 = [" "," "," "] Row2 = [" "," "," "] Row3 = [" "," "," "] Grid = [Row1,Row2,Row3] x = False def NAC(): def check(): #only using … Software Development python | |
I'm creating a XML-viewer which should be able to read **every** XML file and put it in a treeview. My goal is to create a XMLViewer control, an user should be able to change certain routines in his own implementations. I provide default implementations that offer a basic functionality so … | |
# Converting data XML sequential rows of data to tables in another XML # Hi I have following xml which I want to convert them into different tables when it find a row with header and all following rows as table data until it finds another row with header. the … Software Development xml ![]() | |
<html> <title>Student Registration(1.html) </title> <body> <form name="fin" action="2.php" Method="post"> <table> <Caption> Student Registration </Caption> <tr> <td> Student Name: <input type='text' name='Sname' /> </td></tr> <tr> <td> Student id: <input type='number' name='Sid' /> </td></tr> <tr> <td> Student Class: <input type='text' name='Sclass' /> </td></tr> <tr> <td> <input type='submit' value='Next" /> </td></tr> </table> </form> … ![]() | |
I would like to create a countdown column in a gridview, based on a date in another BondFiled column in the same gridview. | |
Hello,all I want to start a new website which play you tube video with lyrics. My question is that how can i prevent it from Copyright ? Please please advice me soon. I have already started working on it. Thanks, Sandip Mistry Software Development video | |
Hello guys, I am a dude who used to work with vb.net until i joined college where Java rules the day. I have a project in which i have a database in sqllite and i want the db to be in the same folder as the executable file(jar in this … | |
![]() | hi all! :) well i wrote a sample code to test threads and i don't get what i want the problem is that the thread i created is starting directly after i create it? but he must start when my j is equal to 25 and then i joining the … Software Development c++ ![]() |
This is the code do look at it. I just want change it in switch statement. will stuck in it. it is unix code. commands[0] = (char *)"ls"; params[0] = (char*)0; commands[1] = (char *)"who"; params[1] = (char*)0; commands[2] = (char *)"date"; params[2] = (char*)"+%d/%m/%y"; commands[3] = (char *)"ps"; params[3] … | |
Hello, Is there's a way to install a new version of the webbrowser control in the visual studio 2008 to be used instead of the old one ? Thanks for helping :) Software Development vb.net visual-studio | |
Hi, I have following code. Dim myData1 As MySqlDataReader Dim sqlquary1 = "INSERT INTO table1 (text1) Values (Value1); INSERT INTO table2 (text2) Values (Value2); INSERT INTO table3 (text3) Values (Value3)" Dim command1 As New MySqlCommand command1.Connection = mySqlConnection command1.CommandText = sqlquary1 myData1 = command1.ExecuteReader mySqlConnection.Close() I need to send few … Software Development mysql vb.net visual-basic | |
Al slam A'lykom .. its kinda freaky to me .. cuz its my first year in c++ ( in fact its few months not even a year ) and i have a project , and its to create an ATM program that asks the user if he is new or … Software Development c++ | |
strsql = "Update tbl_server(temp_no, tem_department, tem_position, tem_sname, tem_fname, tem_mname, tem_add, tem_telno, tem_bday, tem_b_place, tem_age, tem_cs, tem_fa_name, tem_ma_name, tem_spouse, tem_chil, tem_ptbc, tem_padd, tem_ptelno, tem_sss, tem_tin, tem_pag_ibig, tem_phil, tem_focc, tem_mocc, tem_sp_occ, tem_expected, tem_elem, tem_sec, tem_voc, tem_course, tem_post, tem_d_elem, tem_d_sec, tem_d_voc, tem_d_post, tem_coll, tem_d_coll) VALUES ('" & TextBox32.Text & "','" & ComboBox8.Text & … | |
void Project1(){ unsigned short int x; bool flag = false; cout << "Enter an interger, I will reversed i.e. 301 --> 103" << endl; cin >> x; if ((x > 0) && (x <= 65535) ){ flag == true; cout << reverse_num(x); cout << endl; } else { cout << … Software Development c++ | |
Has anyone ever used PLPLOT. I'm trying to compile one of the examples (which build successfully during the plplot build process) but I want to build the example individually. It's proving very challenging. A million linker errors and no clue on their website as to what is going wrong. I've … Software Development c++ open-source | |
Im currently working as a programmer in a company, creating a Logging system. The problem is when im running my system, even if I delete all the codes. When i start debugging my system. The debugger does not follow my codes. Please help me. | |
have 2 lists one for JuniorStudents and one for SeniorStudents. In the JuniorStudents I have a method for promoting a juniorstudent to a seniorStudent. I am first deleting the juniorstudent and then putting it into the seniorstudent list. However when I try to view the student when calling the method … Software Development | |
well,i am a new programmer in vb6 so i dont know much about vb6.So i have 3 questions. 1) Finding sum of all the numbers from 1 to 100 by loop method. 2) Finding factorial of a number. 3) organizing table of any word. eg. 9*1=9 9*2=18 and so on … Software Development visual-basic | |
In java what is the best way to create a truely random number sequence? One that is 100% never to be repeated again Thank you Software Development java | |
in this part of the code which i'm using to search if an account number given by the user is in the vector. what is the cause of the problem ? thanks in advance. if (ae.getSource() == b7) { boolean found = false; for (int i = 0; i < … Software Development java | |
Hi help me to create program for my midterm exam!! System multiplication table Using C++ Software Development c++ | |
I'm trying to outFile to houseData.txt. I did that fine but now all the data is all on the same line 10 times. What did do wrong in my code? House Price Number ------ ----- 329155000235000 459160000235000 505185000235000 500215000235000 345210000235000 456305000235000 344405000235000 501355000235000 401190000235000 300170000235000 I need it to look … Software Development c++ file-system | |
How can i copy a directory path in a string? For example, the Location of the file is "C:\Folder1\Folder2\mydatabase.mdb". i have an existing code, Dim dbpath as String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim OpenFileDialog As New OpenFileDialog OpenFileDialog.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments OpenFileDialog.Filter = … Software Development vb.net | |
Hello! I'm creating a simple markup type thing with a XML reader to edit the properties of this window and at some point add components to it. I had it working, but had a few issues since it wasn't originally a WinForms project, didn't have looping working right, so I … Software Development | |
I have a VB.net Windows form that contains a checklistbox. I need to check or uncheck each item based on boolean values I have stored in an xml file. I also need to update that xml file when each item's checkbox is changed. My VB is competent, but nowhere near … Software Development vb.net | |
Hello. I am writing a program that computes net pay by the user entering in hours and payrate. There can only be one decimal, two numbers after the decimal, and no letters. When payrate is entered wrong, it displays the correct error message. For hours, it doesn't even though it … Software Development c | |
Hello, As per wikipedia, a complete binary search tree is defined as: A complete binary tree is a binary tree in which every level, except possibly the last, is completely filled, and all nodes are as far left as possible Can someone give me an application of complete binary trees … Software Development java | |
Hi geeks!! im working on a project (in visual studio 2008) where i need to create a reminder which will prompt every month for showing the actual state of fees a number of customers have left to pay. the project uses access as database and will have a fixed amount … Software Development microsoft-access vb.net visual-basic | |
Hello everyone. Im making a application in which i need to make a matrix of 8x8x8 buttons. Each layer contains 8x8 buttons (so 8 layers in total). Each button can be clicked and when clicked it change the color to red, the second click changes the color of the button … Software Development | |
hi guys, i am about a graduate of database management in SQL, but then i wish to study software developemt in C++, can anyone help me locate a good school around the world? Software Development c++ | |
| |
I'm trying to read numbers from a data file into array but when I compile and run nothing shows up. what did I do wrong. I have to do all the reading from the function readData and I need to get rid of the header line but I just put … Software Development c++ | |
cout << "Enter Student ID (999 to end): "; cin >> searchId; inFile.open(file + ".txt"); inFile.ignore(80, '\n'); while (searchId != 999) { for (int i = 0; i <= count; i++) { inFile >> ID >> lastName >> firstName >> q1 >> q2 >> q3 >> q4 >> final; if … | |
Hello, I have a little problem with a timer that I have set up. I use Thread.Sleep(). What I am trying to do, is to let a code run exactly when a new minute occurs on the millisecond (0 millisecond). I have tried to set it up below and test … Software Development | |
I am trying to create a multiplication table that is left aligned with a line under the header and a line next to the first column on the left. What I have here gives me what I want but without the lines. Can anyone help? 1. #include <iostream> 2..#include <iomanip> … Software Development c++ | |
Hi I have code as follows which works nicely but it loads a bit slow. I would like to have a progress bar while the file loads my code is as follows With OpenFileDialog1 .Filter = "Text files (*.txt)|*.txt|" & "All files|*.*" .FileName = "" If .ShowDialog() = DialogResult.OK Then … Software Development vb.net | |
Hello I am making a piece of software that reads a board of difference pieces and then puts them into an array for management. I am at the point where I have got a rectangle around the whole board and am researching what the quickest and most effective way to … Software Development | |
I'm trying to find a record in a csv file in a nested stucture: for elem in lstLine[1:]: for item in open(fname): lstData = item.rstrip('\n').split(';') andexfield = lstData[0] if andexfield == elem: do bladibla Now I want ot add error handling: if no record in fname is found where andexfield … Software Development python | |
Hey, just a quick question, I have a function to double the size of a string array and another function to use StdIn to populate the array my code is public static String[] read() { String[] a = new String[5]; for (int i = 0; i < a.length; i++) a[i] … Software Development java | |
Hi im using turbo C++ compiler and im currently learning C. Iand have an assignment that i need to make a program that solves mathematical problems. Well first is that. the user would have to input a problem in whichever way the user wants. like this example: (5*2)+2-2/2 it could … Software Development c | |
Hi, I'm trying to complete this method for a binary search tree and recursion has never been my strong point. All it does is return the total number of nodes in the tree. I have an answer that finds it a different way, but I wanted trying to get it … Software Development java | |
Hello! I'm new here, so correct me if this is the wrong location... but I'm trying to make a program for the Minecraft server I'm on, and it requires that if someone wants to make a map that is used on the server, that there's a .xml file that shows … | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 and this 1 2 3 4 2 3 4 5 3 4 5 6 4 5 6 7 Software Development java | |
If I don't know the size a string will be, and if that size may change later, and if that string may contain '0' characters, what methods are there to do this? (I would prefer a professional/reliable method if possible) Software Development c++ | |
The "r" function works well! #include <stdio.h> #include <string.h> #include <stdlib.h> int main(void){ FILE *file_r, *file_w; int c; char fileread[40]; char filewrite[40]; printf("Enter filename to be copied: "); gets(fileread, 40, stdin); fileread[strlen(fileread)-1] = '\0'; file_r = fopen(fileread, "r"); while(file_r == NULL) { printf("Invalid file, ealnter again!"); fgets(fileread, 40, stdin); fileread[strlen(fileread)-1] … Software Development c |
The End.