199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for AmyChow

Hi every1, i have trouble doing my homework. Could anyone help. the probelm is everytime when i set the degree and it prints out the last degree i entered. when i use the default constructor (withour entering any infomation) to create the UndergradStudent instance, it doesn't allow me to set …

Member Avatar for masijade
0
87
Member Avatar for Manzar

Write a C/C++ program which consists of a user-define function Prime. This function will take a number and check that the number is prime or not if the number is prime Display The number is Prime other wise display The number is not Prime Call this function in main program.

Member Avatar for WaltP
0
102
Member Avatar for Sukanto

I am unable to debug the following code. I can't find any errors here. I am getting the button but after clicking on it, only [b]Time Remaining: 10000 msecs[/b] is being displayed. In Firefox 2.0.0.3: I checked the error console, it shows [b]timedCount is not defined[/b] on line [b]t = …

Member Avatar for Sukanto
0
158
Member Avatar for sap.hit21

Hi all, I have faced some problem ina coding. What I have to do is just to replace all "big" with "small" from the string " The world is big. there are big cities. Bigger city mean bigger population. Towns are getting smaller". My code is [code=c] #include<stdlib.h> #include<stdio.h> #include<string.h> …

Member Avatar for sap.hit21
0
94
Member Avatar for uaefame

I am using HLA to learn assembly. I choosen HLA because of different reason. Main topic: I try to do a HLA script using try..exception..endtry statement but i have error... can u tell me where i mixed up[CODE] program driver; #include("stdlib.hhf"); #include("excepts.hhf"); static goodinteger: int32; i:int32; begin driver; repeat mov(false,goodinteger); …

Member Avatar for Evenbit
0
96
Member Avatar for pc0019

Hi I've just picked up a copy of SAMS teach yourself C in 21 days (I dont think Ill finish it that quickly) because I wanted to get into programming. I've worked through the first chapter, but keep enountering a problem: my programs exit before I can see what they …

Member Avatar for pc0019
0
132
Member Avatar for alba07

Can someone help me fix this? After I compile I get ilegal start of expression for the line that says public String getBook(). I cannot see why this is not allowed. My output should be as follows: Jane Doe Long night 12.5 Long Night by Jane Doe I am supposed …

Member Avatar for alba07
0
55
Member Avatar for Brent.tc

How do i find the dimensions of a button? Example: I want to find the width of the start button, and the height and then assign them to seperate ints. int width=WindowWidth(Start); int height=WindowHeight(Start); The abbove functions are totally made up, so they are just examples...

Member Avatar for Ancient Dragon
0
115
Member Avatar for Senel

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 …

Member Avatar for Senel
0
106
Member Avatar for lor

I want to create a function or procedure to compute the sin formula using taylor method. can you help me pls thnx

Member Avatar for radu84
0
91
Member Avatar for naya22

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. …

Member Avatar for naya22
0
116
Member Avatar for iam_rob

Hi there all, Apologies if something similar has been posted before but I tried a search and couldn't find anything. I have a combobox with 2 options "OPEN" and "CLOSED". Tied to this combo box I have a scriptlet which I want to select the appropriate value of the combo …

Member Avatar for iam_rob
0
82
Member Avatar for addicted

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 …

Member Avatar for iamthwee
0
112
Member Avatar for Bushi

I recently installed CrackerTracker v5.x in my forums (phpbb2 with no mods, running a custom interface) and I'm having a massive amount of parsing errors. Examples: Parse error: parse error, unexpected ',' in /forum/includes/functions_post.php on line 103 [code]103: }$lang, $phpEx, $phpbb_root_path; [/code] Parse error: parse error, unexpected T_INCLUDE_ONCE in /forum/includes/page_tail.php …

Member Avatar for Bushi
0
111
Member Avatar for rowly

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, …

Member Avatar for Ancient Dragon
0
167
Member Avatar for mrjoli021

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 >> …

Member Avatar for mrjoli021
0
92
Member Avatar for CRD

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 …

Member Avatar for CRD
0
440
Member Avatar for brndn_sadler

I Downloaded A Game Called Hitman Blood Money On Bit Torrent And Now I Can Get It To Play What Should I Do? Email Me At <snip email> With A Detailed Answer. Cause I Suck At This.

Member Avatar for jwenting
0
87
Member Avatar for student86

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 …

Member Avatar for student86
0
93
Member Avatar for shsh_shah

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(); // …

Member Avatar for shsh_shah
0
107
Member Avatar for kapkan

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) { …

Member Avatar for peter_budo
0
85
Member Avatar for aot

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.

Member Avatar for aot
0
88
Member Avatar for shsh_shah

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

Member Avatar for Lardmeister
0
104
Member Avatar for john99

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 …

Member Avatar for bitbucket
0
315
Member Avatar for Nelly1965
Member Avatar for Nelly1965
0
253
Member Avatar for kjpwa

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, …

Member Avatar for ANUJ SHROTRIYA
0
827
Member Avatar for nanodano

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 …

Member Avatar for vijayan121
0
189
Member Avatar for student86

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 …

Member Avatar for vijayan121
0
92
Member Avatar for amoun

I make a query and I get all the result I need but I'm stock now I wont this result to be send via email or save the result to another html file, is it' possible, thanks for all replies :sad:

Member Avatar for amoun
0
79
Member Avatar for yaya_star

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 …

Member Avatar for arjunsasidharan
0
95
Member Avatar for viraltaj

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 …

Member Avatar for jan1024188
0
160
Member Avatar for rowly

[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 …

Member Avatar for rowly
0
149
Member Avatar for jerryseinfeld

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 …

Member Avatar for jerryseinfeld
0
125
Member Avatar for MarzenaM

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, …

Member Avatar for MarzenaM
0
83
Member Avatar for mcklein_tunde
Member Avatar for rickvidallon

Anyone know of a work around in .Net to retain the highest possible resolution of a photo or image after compression or resizing?

Member Avatar for ManicCW
0
124
Member Avatar for asghar_hashmi

[COLOR=#000000]In software Engineering is it Fair to say that a Preliminary user’s manual is a form of Prototype? Explain your answer.[/COLOR] <snip>

Member Avatar for peter_budo
0
98
Member Avatar for sp_kosl

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

Member Avatar for arjunsasidharan
0
124
Member Avatar for mayu

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.

Member Avatar for arjunsasidharan
0
92
Member Avatar for sowmya nair

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 …

Member Avatar for jimmymerchant
0
137
Member Avatar for ajaxjinx

Hey, Is there any equivalent of conio.h for Linux??? I basically want getche to work in linux.. Is there any alternate??

Member Avatar for ajaxjinx
0
146
Member Avatar for l-o-s-t

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 …

Member Avatar for l-o-s-t
0
130
Member Avatar for ttamilvanan81

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

Member Avatar for ttamilvanan81
0
255
Member Avatar for GaryP

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 …

Member Avatar for GaryP
0
119
Member Avatar for asmqb

Hi everyone! I'm currently working on a navigation bar for a personal website and, although transparency is working great, has a couple of problems with browsers that use... fonts that are not around the size (specifically the [I]height[/I]) of Helvetica. I basically have a [inlinecode]<div></div>{...}</li></ul>[/inlinecode] block. The first [inlinecode]<div></div>[/inlinecode] combination …

Member Avatar for MidiMagic
0
168
Member Avatar for Green Anorak

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 …

Member Avatar for DEMWilson
0
96
Member Avatar for Kcin

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;)

Member Avatar for scudzilla
0
93
Member Avatar for covertx

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); } …

Member Avatar for Killer_Typo
0
117
Member Avatar for ashweb

Hi, I'm new to PHP and was wondering if anyone could help me with my problem. Basically I have an access database and have managed to create a few php scripts by looking at various tutorials and scripts on the net in php that insert, update, delete and view data …

Member Avatar for DanceInstructor
0
156
Member Avatar for Osama Mehtab

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:

Member Avatar for WaltP
0
83

The End.