132,726 Archived Topics
Remove Filter ![]() | |
I want to write a program that enter the marks of n of student out of 100%, students who are (marks>=65) pass otherwise failed, want to print number of students who'r passed and failed ? I solved but wont work >< To enter nth marks of student need loop, then … Software Development c++ | |
Well, everyone, here I am again. (I'm becoming a familiar face, am I???):confused: I am working on an program in Borland C++ Builder 6 in which I have to create a program that asks the user for their name, what package they choose, and how many hours did they use. … Software Development c++ | |
me again, I need help with that so called templates in C++, i need someone who can break it down to bits for me, i just read it today and i understand few of it, i understand that templates are used for substituting function overloading... but i was thinking that … Software Development c++ ![]() | |
hey guyz, i'm trying to search each ar for matching characters in the buff, but I seem to be getting a buffer overflow. Can anyone give me any pointers, any help would be appreciated, this is my code: [code] #include <stdio.h> #include<stdlib.h> #include <unistd.h> #include <fcntl.h> #include <string.h> main(int ab, … Software Development c | |
I have a csv file that I need to be able to read it into a struct array. I have read examples and they all match what I have. [code] [COLOR=#0000ff]void[/COLOR][COLOR=#000000] ReadStudents ()[/COLOR] { fstream infile; [COLOR=#0000ff]int[/COLOR] i; infile.open ("c:\\students.txt"); [COLOR=#0000ff]for[/COLOR] (i =0; i < 20; i++) { infile >> … Software Development c | |
Can any one spot why this listing Will not compile? [code=c] /*print_it.c-This program preints a listing with line numbers */ #include <stdlib.h> #include <stdio.h> void do_heading(char *filename); int line = 0, page = 0; int main( int argv, char *argc[] ) { char buffer[256]; FILE *fp; if( argv < 2 … | |
In options 1 and 2, the user will input the ID, Type, Description, Quantity on Hand, and Unit Cost as one string with the values separated by commas. Use the function [B]strtok[/B] to parse the input into separate values. For the numeric values, call the function [B]verifyValue[/B] to verify that … Software Development c++ | |
when enter the text to find the string i want to ignore the case how to implement that in a context below [code] public override void Search() { //file = new FileStream(@"C:\username.txt", FileMode.Open, FileAccess.Read); Console.WriteLine("Input a string "); String data = Console.ReadLine(); sr = File.OpenText(@"C:\username.txt"); String st = sr.ReadToEnd(); // … Software Development | |
Help me pls. I have some problems with method getClient(), bring only two classes. [code] package drugstore; public class DrugstoreFrame extends JFrame { Client person; ... public Client getClient(){ person.setAccount(getField(jTextField4)); person.setPassword(getField(jPasswordField2)); person.setFio(getField(jTextField5)); person.setAddress(getField(jTextField6)); person.setTelephone(getField(jTextField3)); person.setAdditionalInformation(getField(jTextField7)); return person; } private String getField(JTextField field){ return field.getText(); } public void jButton10_mouseClicked(MouseEvent e) { … Software Development java java-swing | |
Does anyone know if there's a way to make a larger entry box in Tkinter? I'm looking to allow users to enter comments at the end of my program, so there should be plenty of space. | |
How to search for a string in a file. As string might be somewhere in the middle of text file. :!: [code] [COLOR=#008080]Console[/COLOR][COLOR=#000000].WriteLine([/COLOR][COLOR=#800000]"Input a string "[/COLOR][COLOR=#000000]);[/COLOR] [COLOR=#008080]String[/COLOR] data = [COLOR=#008080]Console[/COLOR].ReadLine(); sr = [COLOR=#008080]File[/COLOR].OpenText([COLOR=#800000]@"C:\username.txt"[/COLOR]); [COLOR=#008080]String[/COLOR] st = sr.ReadToEnd(); ????? [/code] help please? thanks Software Development | |
Hi everyone I am relearning to use VB after taking classes almost 10 years ago. I am stumped on remebering how to open a file using a command button. I have created some forms using VB that I want to activate from a main menu. I have made them .exe … Software Development visual-basic | |
How can I get the path at run time of the VB program file that the code is run from? Software Development visual-basic | |
Ok, so I know lots of people have posted about how to find prime numbers up to a certain number, and I can do that, however If I wanted to output a certain number of prime numbers so that the user inputs say 6, it would out put 2, 3, … Software Development c | |
Is there any way to read or write to a socket besides using the [inlinecode]read()[/inlinecode] and [inlinecode]write()[/inlinecode] functions. Is there any way to treat it like a stream and use the insertion/extraction operators (<< and >>)? The reason I ask is because with read I have to put an arbitrary … | |
I need help verifing. If you need more information let me know, but I am a beginner. Just need help with the verifyValue.cpp what kind of code or functions would you suggest. Thanks [COLOR=#000000]In options 1 and 2, the user will input the ID, Type, Description, Quantity on Hand, and … Software Development c | |
Hello eveybody i have a calander in my project, when i click on date it retain in list box the information related to this day but the problem in Access in the feild date , it dosen't save the date in the format it takes from the calander , thats … Software Development vb.net | |
Hello friends, This is my first post on this forum. I just came here to learn a bi t of C++. I have developed an operating system called TAJ in C++. Its an object oriented operating system. It is multitasking, multithreading and multiuser operating system. This is its link: <snipped … Software Development c c# c++ first-post multithreading operating-system | |
[COLOR=#000000]Hey guyz, I'm stuck with this given, its bit hard I cant understand it just wonna know the logic ( no codes).[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Its saying write a C program which read from standard input, replaces all the occurrences of the characters by the first command line argument, with the … Software Development c | |
Hi... I have a project whic is input should be like... Kazma 7 780 m Kaz 13 1400.5 f Azaz 1 601 m and output should be like.... Kazma 7 ,,,,780.00 "m" ,,,,,Kaz 13 1400.50 "f" ,,,Azaz 1 ,,,,601.00 "m" (please think without , ) In this project input can … Software Development c++ | |
Hi! I am doing program to calculate votes. its very simple but .......... up to what I did so far it doesn't want to calculate the first vote. Please tell me what i am missing? It's what i did so far.[code=c] char choice; int total, voting_station, votes,spoiltVote, totalA, totalB, totalC, … Software Development c++ | |
Hi! I urgent need of VB.Net project with the help of how can run it and what is requirement for this project. Please help me any one Thanks Software Development vb.net | |
hi... 1) i want a datagrid which is blank on form load with only column header and a blank row allowing user to enter data. 2)The data in datagrid should be inserted in the db(access) when clicked on save button. Software Development vb.net | |
the problem is as follows: write a program:the array of integers indicating the marks of the students is given.u have to calculate the percentile of the student according to this rule:the percentile of a student is the % of number of student having marks less than him.for example: student marks … | |
I defined a struct that has the format: [CODE] struct node{ char *str; int key; link next; }; [/CODE] and I have a list of this type, when I try to do this [CODE] free ( list -> str ) [/CODE] the program terminates :-| how can I free the … Software Development c++ | |
Hai, I need to Send and Receive Email using Ms-Access with Attachments. Anybody know how to send and receive Email's usin Ms-Access. please post me the details. Thanks Tamilvanan Software Development email first-post visual-basic | |
I have used the conversion wizard to convert several vb6 programs. It works fine but.... I am trying to pass multi-dimensional array arguments to a subroutine which worked fine in vb6 but is not accepted in .net. The ParamArray/vb.net used at the end of the arguments only accepts one dimensional … Software Development vb.net visual-basic | |
Hi All I am very new to C and would appreciate your help. I am trying to create a program which reads a file (a list of numbers) and prints to the screen those which are higher than 0.7. Does anyone know how to do this? So far I am … Software Development c++ | |
For i = 100 To 2 Step -1 MyStr = Trim$(Replace(MyStr, Space(i), Space(1))) Next I dont understand:sad: the part where "Step -1" is used, and this part: "(MyStr, Space(i), Space(1)))" plz help explaining this to me. THx in advance;) Software Development visual-basic | |
Hey all, I'm trying what must be the very simplest of tasks but I can't work out how to get my binary string to a textbox! Any suggestions? [CODE] //Existing string from another text box "rev" MemoryStream ms_memStream = new MemoryStream(); BinaryWriter br_binaryWriter = new BinaryWriter(ms_memStream); try { br_binaryWriter.Write(rev); } … Software Development | |
hi everybody, dayz back i've posted the intro thread I'm really needing ur help people to consult C++ as one of the core courses of my engineering Program tell me how can u help or just suggest me right now as I 'm a beginner:confused: Software Development c++ engineering | |
[COLOR=#000000]C program to create a calculator. The program will accept an arithmetic expression (assumed to be valid expression of only +, -, *, /, 1/x, and % operations) from the user. Evaluate the expression and display the results. Including the above functions, this calculate should provide the temporary buffer (memory … Software Development c | |
hi i'm student in university i try to do my homework to simulate FCFS and RR i need ur help to tell me if my answer good or :sad: Qustion is: the project is to write a program to simulate FCFS and RR without having any i/o, all processes have … | |
I am attempting to search a list to check whether an item is already present before inserting. I am having trouble with the pointers; I understand that I need to set the pointer to the start of list but I keep getting compilation errors. Can anyone help? Here is my … Software Development c data-structure first-post linked-list | |
i've been given an assignment to writet he coding for a calculator. more the functions,higher the score in the assignment! i'll use the switch statement nd read through math.h. wat other suggestions can u guys giv me??there isnt' any limit to the no. of inputs we can take! can ny1 … Software Development c | |
[B]Hi every one[/B] I have an application that gives the handle and information about the window that mouse goes over it I know the stupid way to get the handle or any information from the teXt that holds it and it's Open Notepad and write to it So What i … Software Development visual-basic | |
Hello, I am university student and currently we are being thaught C++ and are studying Object Oriented Programming. Since last few weeks what ever assignment I get , My program always end up with thread stop error while runtime and I cant find the reason. I have to currently submit … ![]() | |
Hi, I am about to start learning java. I would like to ask which development tool is better. Eclipse or netbeans ? Thanks, Vishal Software Development java java-netbeans ![]() | |
[B]Good Day to All:[/B] [B]I need to know if there is a code snippet somewher that will allow me to take a users START DATE and give them a maximum of seven(7) for a END DATE.[/B] [B]Problem is, on my AIX box, we DO NOT HAVE THE Date::Calc Perl Module.[/B] … Software Development perl | |
I have been wondering the definition... I mean, [B]Are both 00123 and 12345 five-digit numbers?[/B] Software Development c++ | |
Hello all I'm a fresher to Microcontroller programming. I have defined certain global variables that I need to store at consecutive memory locations, say starting from 0x8000h . Will appreciate if anyone can give me the syntax / instructions to go about the same. thanks techie | |
| |
I need help in updating a database in MS access using VB....i need only 8 entrises (rows) in the database...all i need to do is delete all the rows in the database and then add the new data....i am delelting the whole data since the no of new entries(rows) maybe … Software Development visual-basic | |
please tell me how I can execute c++ program frm java I had tried this one but it does`t work /*import java.io.*; public class exe1 { public static void main(String[] arg) { try { Runtime rt = Runtime.getRuntime(); //int s=rt.availableProcessors(); Process prcs =rt.exec("inventry.exe"); InputStreamReader isr =new InputStreamReader(prcs.getInputStream()); BufferedReader br = … | |
Hello C/C++ experts, I write the following code [code] int a[10]; int b[10]; // initiliaze all element of array a and b to 0. a[11]=255; [/code] Neither the program crashes nor the value of b[0] becomes 255 What could be the reason? Software Development c++ | |
Hello. I'm trying to read an input file to build a list formed by structs. The input file has this format: 1 2,15 3,0 2 1,15 3,8 ... the first number of each line will be in what I call NOMBRE, and for the rest of the numbers in the … Software Development c++ |
The End.