199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vb_learner

Hello : > I'm using console application (VB.NET), using Visual Studio 2005. I have a problem with my project, I'm building a vowel counter program, and faced a problem there with loops.. any one can help me with my project?,, can I contact with the helper using a private message? …

Member Avatar for Edward-eh
0
404
Member Avatar for sura17

This is what i have done so far:- [CODE] Program ssd; uses wincrt; var x:real; Begin x:=1; repeat clrscr; gotoxy(32,0); writeln(x:5:2); x:=x+0.001; until KeyPressed; clrscr; gotoxy(20,0); writeln('You Have Filled The Amount Of £',x:5:2); end.[/CODE] This is my ticker, it goes up on 0.01's forever but its slow and i did …

Member Avatar for glindhot
0
259
Member Avatar for sigkill9

Could someone help me streamline this? Like eliminate unnecessary coding and etc? I got the script to work, although I couldn't figure out how to handle small prime numbers such as 2 and 3. It wouldn't output "this number is prime" (see script below) so I had to force prime …

Member Avatar for 1337455 10534
0
123
Member Avatar for mikeandike22

Ok So right now I am using a script called MicroCalendar to setup a client calendar where A client can add an appointment to it but I need to put something into place that makes sure that they cannot overlap appointments..right Now im just saving appointments to txt files with …

Member Avatar for mikeandike22
0
107
Member Avatar for williamthelast

i'm trying copy a string to another and adding space between the names but it show a warning c4700 and i don't know why??? [code=c] #include <stdio.h> #include <stdlib.h> #include <string.h> char *convert(char *string) { char *p=string; char *tmp; while (*string==' ')string++; while (*string) { *tmp++=*string++; while(*string >= 'a' && …

Member Avatar for jephthah
0
112
Member Avatar for arlene1

Please help, I do not understand the correlation between the function definition and the call in main. My program is receiving build errors- please assist with determining what the definition of this program should be. Thank you! [code=c++] #include <iostream> using namespace std; void yrCalc(int totalDays, int& year, int& month, …

Member Avatar for Ancient Dragon
0
108
Member Avatar for alivip

I wont to find most 10 frequency word of specific file for that I have written this code [CODE] import sys import string import re file = open ( "corpora.txt", "r" ) text = file.read ( ) file.close ( ) word_freq ={ } word_list = string.split ( text ) for …

Member Avatar for alivip
0
131
Member Avatar for linux

Alright, I'm trying to make a small GUI application that'll allow me to run a .ck file (with ChucK) from a GUI, from a preset directory. Okay, so I have: [code=python]from Tkinter import * class chuckrun: def __init__(self, master): ui = Frame(master) ui.pack() self.file = Entry(ui, text="Filename") self.file.pack(side=LEFT) self.play = …

Member Avatar for linux
0
528
Member Avatar for humera05
Member Avatar for mamaChaos

Hello, everyone, This program is supposed to read roman numerals from a file and convert them to ints using functions. My functions work fine as standalone programs, but they aren't giving me the results I'm expecting. The weird results point to problem with my do/while loop. The goal is to …

Member Avatar for mamaChaos
0
98
Member Avatar for mathmagic

how to generate random numbers between a and b? is there any in-built function?

Member Avatar for BlackJavaBean
0
188
Member Avatar for shamin

k hi every1, im kinda new to C++, anyways..this is an assignment for my college. im supposed create a program that displays the username in a "creative" way. so first thing is do i use the get and ignore functions to get the initial if the user enters the whole …

Member Avatar for vijayan121
0
108
Member Avatar for anasta

I have a script (below) that consists of a form using javascript that shows an array in a table below it once a number is chosen. What i would like to know is can i turn the array into a form as well with the same data but include a …

Member Avatar for petr.pavel
0
167
Member Avatar for hellokitty88

I am trying to do a sequential string, but when I run my program I recieve three errors:the first one talks about 'searchList' : cannot convert parameter 3 from 'const char [4]' to 'std::string [] ( I tried putting code tags by inserting my code between the [code] [/code], but …

Member Avatar for Ancient Dragon
0
116
Member Avatar for ericstenson

Hi - In Visual Studio 2005, when one drew a table, the cell height was "auto" and if it didn't contain anything, it wouldn't show. One could then manually set a cell height if one was so inclined. It seems in Visual Studio 2008 all of the cells have a …

Member Avatar for majestic0110
0
103
Member Avatar for vagab0nd

i have had a busy day and its late in the uk? I have with a little help earlier on here combined lots of snippets orf old code and tutorials into a app that works and is all new code. problem I have run into is that I want to …

Member Avatar for vagab0nd
0
120
Member Avatar for dkwantee

Hello! i have the following data in a file student_id student_name maths_score english_score physics_score can i use a nested structure to read the file? [CODE] struct student { int id; char name[40]; }; struct score { int maths; int english; int physics; }; [/CODE] if yes, how will i read …

Member Avatar for dkwantee
0
495
Member Avatar for VernonDozier

I'm pretty sure the answer is a definite no if it is a pointer to a primitive type, but I have created classes called "network", "path", and "node" and I want them all to be able to refer to each other. These are not primitive types, so I hope I …

Member Avatar for VernonDozier
0
461
Member Avatar for t_yalthis

I have looked for some threads in this forum but they are not giving any clear solutions to my problem. I am trying to do a simple authentication thrpugh an LDAP server in my university. however the code returns an exception saying that "the server is not operational". public bool …

Member Avatar for Varsh10
0
201
Member Avatar for Crazycfk

i am doing a decimal to binary conversion and i have figure out how to do the conversion i just don't know how to make it cout so that it is in reverse.... i was also told that it could done in a while loop here is the code [code] …

Member Avatar for VernonDozier
0
2K
Member Avatar for HIGHER LEARNING

Ive been trying to understand the below code for a while and need to know if it "acts like a record" for a single user. At the `end users[userdb]` is like an array for 6 struct user records? #define userdb 5 /* DataBase*/ struct user {char username[10]; char userid[9]; char …

Member Avatar for vijayan121
0
222
Member Avatar for flash2007

I need help in C++ .Class name Driller has three data member (int Code Private, int Quantity private and Name public) it has 3 function: 1. Depth, the drills drills is based on the following: code 2000 depth(m) 300, code 3000 depth 500 and code 4000 depth 1000. 2. Cost …

Member Avatar for flash2007
0
183
Member Avatar for darkagn

Hi all, I am wanting to display an image that is aligned so that the centre of a string of text is in line with the centre of the image. I know the image's dimensions and the length of the string, as well as the font I am using to …

Member Avatar for darkagn
0
196
Member Avatar for hazelle

hi!...this my code,,,and i knew there"s something wrong with it,,,or maybe something is lacking..would you mind to help me?...i need a very quick response..thanks....Godbless you... [COLOR="Green"]import java.io.*; public class Samplefile { public static void main(String args[]) { File fob1 = new File("dede.txt"); RandomAccessFile rob1 = new RandomAccessFile("Hector.txt","rw"); if exists("dede.txt") { …

Member Avatar for jwenting
0
93
Member Avatar for Moporho

I have assignment and need help determining if I am correct. The question reads: a.Write a function that determines whether a number is prime b.use the function to determine and print out all prime numbers between 2 and 10,000. [B][U]How many numbers to you have to test before being sure …

Member Avatar for Moporho
0
5K
Member Avatar for torbecire

I am supposed to draw a box with coordinates UpperLeft(5,70) UpperRight(5,10), LowerRight(20,10) LowerLeft(20,70). I can't figure out what I am doing wrong. HERE IS ME CODE. [ICODE]TITLE BOX INCLUDE Irvine32.inc .code main PROC COORDS BYTE 5,10,20,70 UL BYTE 0DAh UR BYTE 0BFh LL BYTE 0C0h LR BYTE 0Dh VERT BYTE …

0
67
Member Avatar for sannidhikumar99
Member Avatar for arlene1

I'm extremely new to c++- this is a homework question- I do not understand how to write my program for this problem: Write a function named yrCalc() that has an interger parameter representing the total number of days since the turn of the last century (1/1/1900) and reference parameters named …

Member Avatar for amitahlawat20
0
180
Member Avatar for bornok15

i have a report design made within visual basic using crystal reports 8.5. Right now i need to made the report preview 4 of it in one 8.5x11 bond paper. I know i need to change the design to make it fit if im going to make it 4 at …

Member Avatar for hawisme000
0
94
Member Avatar for rrich1103

Alright so.... i have logic errors in my game... and idk how to fix them... can i get some help?..... this is a project due for school... tonight midnight actually... and i'm afraid that if i post my code online that... they'll void my program for plagirism x_X'''... so.... ya …

Member Avatar for Ancient Dragon
0
96
Member Avatar for bugmenot

hi, i need help please... i need to write a program to calculate the depreciation of equipment passed its useful life using two different methods... these are the actual requirements for the program: "Depreciation" Program requirements: 1) write a c++ program to calculate depreciation using the straight-line and sum-of-digits methods. …

Member Avatar for Lerner
0
787
Member Avatar for Jennifer84

I have a .txt file that contains this informaton: Numb1 Number2[1] Numb3 Now there is 2 things that I am trying to do here. I dont know how to begin this. First I will search if there is any Word in this file that is named: Number2[1] But the tricky …

Member Avatar for Jennifer84
0
166
Member Avatar for Time Indicator

Hi, I need help with Listbox. I have two listboxes and when one selects from the listboxLeft it should go to listboxRight and that seems to be working fine. However, when I tried to remove the content from listboxRight and add it to the listboxLeft. The remove function is working, …

Member Avatar for Jx_Man
0
348
Member Avatar for kv79

Hi , I forget where to look on the W3School ,I have [url]www.servisracunara.co.nr[/url] site and as you can see my images on the left side do not work ,so i need to tell me where to look about these clicking on the image in Java Script , I hope that …

Member Avatar for kv79
0
85
Member Avatar for ssharp77

Received some prior help to clean up my code and get this to compile which, it does in fact compile, but it seems to end after the int main(). I have tried several other possibilities with moving code around for the various functions, and I still cannot seem to get …

Member Avatar for ssharp77
0
557
Member Avatar for debee

Can someone help me please! I would like to know of any advice about reading data from a file, and then storing them in arrays. I have got to work with this set of data, which needed to be preprocessed first in the following way: The first set of ten …

Member Avatar for debee
0
82
Member Avatar for Parsu7
Member Avatar for wannabeIT

I don't understand why this program is making me input two more times (after the program is finished) before it terminates. All other programs that I do usually terminates while this code idles. For those who are confused, I have to enter extra characters and hit "enter," twice before the …

Member Avatar for Lerner
0
123
Member Avatar for guitarrick

I really hope someone can help with this...We've been working on the same 'core' abstract data type files (ListA.h & ListA.cpp) thus far this semester. Progressively adding different methods along with the new concepts introduced. AppointmentBook is our class, and each project calls for some implementation of a simulated appointment …

Member Avatar for guitarrick
0
125
Member Avatar for wolverine_krl

i made a function used for http post . and this is run in a thread......... while aborting this thread it is taking long time and the form becomes non responsive and show a blank form....... how can i solve this problem............

Member Avatar for cVz
0
74
Member Avatar for torbecire

They are two classes. Fraction and calculator. Fraction does things like add, multiply.... The calculator class is supposed to call the methods in the Fraction class and output the data. The problem is i can't figure out where to put the calculator class so that it can output data. Here …

Member Avatar for torbecire
0
122
Member Avatar for Allen 0108

In the code below, can someone explain how the incrementing for the successive iterations results in the output? Thanks. [CODE]int main() { using namespace std; for (int i = 0; i < 3; i++) for (int j = 0; j < 3; j++) cout << i << " " << …

Member Avatar for Allen 0108
0
247
Member Avatar for amit6sharma86

please give me an idea what worg with this file ,whan i mail through then the html working in also sending with the content ,what is the error in this file <?php $msg="<TABLE align=center bgColor=#990000 border=0 cellPadding=4 cellSpacing=1 width=\"95%\"> <TBODY> <TR bgColor=#ffffff> <TD class=txt width=\"25%\">Name </TD> <TD class=txt width=\"4%\">::</TD> <TD …

Member Avatar for Suomedia
0
146
Member Avatar for icycool007

hello everyone i am trying to continue the countdown timer from 1 form to another in VB.NET but it is not working... I have been able to run countdown timer but not able to continue it in the following pages plz help me out as this project is very imp …

Member Avatar for Narue
0
125
Member Avatar for rickilambert

This is the error message i get when i try and use the foor loop, cannot find symbol - variable split result [CODE]for(int i=0;i<=216;i=i+3){ MyPanel.txtbyellowentry.setText(splitresult[i+2]) ; MyPanel.txtbgreenentry.setText(splitresult[i+2]) ;[/CODE] What i am doing is, in my other class(matchlist) i am using a stringbuilder to send a group of matches to a …

Member Avatar for jwenting
0
91
Member Avatar for sigkill9

I have a question about a script i'm making. It asks the user to input an integer, then finds two prime numbers that sum up to the number, and displays what those two prime numbers are ( something like "54 = 5 + 49" ). I have most of the …

Member Avatar for sigkill9
0
104
Member Avatar for TobbeK

I have a small problem with this select box. This one loops out [year-month] in 12 month periods starting from the current month. When a selection has been done, a month value is sended back to this select box so that the selected month then stays selected. That works, as …

0
115
Member Avatar for Jennifer84

I am trying to find how to open a Native project in VC++ 2008 NET That has this: int main() like below but I cant find what is the name of this project. int main() { return 0; }

Member Avatar for Narue
0
95
Member Avatar for Thradok

I'm just starting out with Python, and for some reason I am getting a syntax error. This only happens when I run the whole program at once, but if I run only this little bit, it works fine. while choice != "q": choice = raw_input("What would you like to find …

Member Avatar for Thradok
0
108
Member Avatar for vagab0nd

ok below code is v rough but first implementation in python. i get the error name error name self is not defined in relation to teh first use of self.panelL in the layout function? it was working then i tried adding a button and it stopped I removed the button …

Member Avatar for vagab0nd
0
388

The End.