132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Saadulla

Hello everybody, I wanna help to writing this program. Q/ Write Prog. that generates Random Binary sequenced by Using shiftRegister o f Length (10). thnx 4 Help

Software Development c++
Member Avatar for Saadulla
0
136
Member Avatar for nerdagent

I'm trying to put in some code that will delete a list from a list. For example if the user decides to delete the first names he would type in 'first' (w/out quotes). however after they input the name nothing prints out. Any suggestions? [CODE] person = ' ' first …

Software Development python
Member Avatar for vegaseat
0
127
Member Avatar for TigerGirl

Hi. I have a recursive public static method search that takes a Tree node (any arbitrary binary tree, not necessarily a search tree) and returns whether or not that tree satisfies the order property for a binary search tree. So, my method is [CODE]public static boolean search(TN t) { if …

Software Development data-structure java
Member Avatar for TigerGirl
0
206
Member Avatar for valkerye

I'm having a bit of an issue with a while loop in a program I'm working on. I am attempting to use a while-eof loop to read float numbers from and input file and simply rewrite those files to a created output file. My issue is that the while loop …

Software Development c++ ios
Member Avatar for VernonDozier
0
734
Member Avatar for new programer

Howdy Folks! I've been asked to write a program that reads in an interger N and calculates The factorial ... I wrote this yesterday but it does not seem to work .. here's the code : [CODE] #include <iostream> using namespace std; int main() { int i=0; int s=1; int …

Software Development c++
Member Avatar for warbird43
0
135
Member Avatar for jack c++

what does: "expected init-declarator before "int" "expected ','or';' before "int" "expected constructor, destructor or type conversion before'=' token" "expected unqualified-id before '=' token" mean? what do all these compile errors mean? this is my code with most errors. [CODE]int x; ,x = 153; [/CODE]

Software Development c++
Member Avatar for jonsca
0
137
Member Avatar for Yovanys

Excuse my English.. At work we have porting some app to MySQL, but there are still some Database in Access 2.0, Access 97, DBF, etc Some important database is "codifica" is in access 2.0, this DB contain to many tables that are used in other DB. I need copy data …

Software Development microsoft-access open-source
Member Avatar for scarpacci
0
201
Member Avatar for bentlogic

Hi Java Developers, wondering if someone can point out why references to 'Student' (successfully compiled java class) in my ValidRecords.java source file don't seem to resolve at compile time? It's important to say that ANY and ALL references to Student object from inside ValidRecords.java don't resolve... not just the one …

Software Development java java-netbeans
Member Avatar for peter_budo
0
347
Member Avatar for mayanktalwar

[CODE]#include<iostream.h> #include<conio.h> void main() { clrscr(); int k=0; int x; cout<<"input the no whose no of zeroes is to be calulated at the end in its factorial"; cin>>x; for(int i=1;i<=x;i++) { while(i%5==0) { k++; } } cout<<k; getch(); } [/CODE] hey in the above code it does not give compilation …

Software Development c++
Member Avatar for warbird43
0
123
Member Avatar for ross42111

[QUOTE]I have put in all the bool operators - If the user inputs and invalid letter the while loop is supposed to ask the user to try again until a correct letter is entered. I have programmed using a while loop, switch statement and char at the same time. If …

Software Development c++
Member Avatar for VernonDozier
0
119
Member Avatar for xfrolox

Hi all I'm new in this forum, I'm trying to make a tool for a game. But in this tool i need a countdown but i only know how to do it by seconds, i need help by making it Hours:Minutes:Seconds [00:00:00]. Button1 Timer1.Start() Button2 Timer1.Stop() Button3 Textbox1.text = "" …

Software Development vb.net visual-basic
Member Avatar for xfrolox
0
129
Member Avatar for xfrolox

Well hi all again, This one have to be Ez for most of u guys. Im posting some thread peace per peace to finish some features to my program. well whats the code that when i open my program i cant open it again. like Example: LOL.exe when i open …

Software Development vb.net
Member Avatar for xfrolox
0
166
Member Avatar for paruse

How to change the color and size of output in C++? How to Draw columns? I'm a beginner... Pls help...

Software Development c++
Member Avatar for warbird43
0
117
Member Avatar for warbird43

Stack Intersection by Fraz Jamshed

Software Development c++
0
355
Member Avatar for Lukezzz

I am trying to Convert this Long String to an integer but when running the code, I get an error that tells that the inputstring is in an incorrect format. How can I convert this string so I will get the ouput integer: 41517 ? [code] String^ ba = "41516.7095211088"; …

Software Development c++
Member Avatar for Lukezzz
0
96
Member Avatar for JRabbit2307

8. create a console application. Insert the below code, and run the program. Note that a conditional statement is used within the body of the loop. This is common. Write a similar program using this one as an example that asks the user to name his or her favorite make …

Software Development vb.net
Member Avatar for sknake
0
99
Member Avatar for gminhas

hi guys! can anyone tell me now to draw a line in VB.NET form? I've been trying to do so , but nothings coming..

Software Development vb.net
Member Avatar for israrkhan
0
4K
Member Avatar for Web_Sailor

suppose I have a file like below and I would like to create 3 output files based on my first field .. .i.e, 1 /2/3. Thats means 3 lines will go to the three files [CODE] 1 AAAAAA BBBBBB CCCCC 2 DDDDDD EEEEEE FFFFF 3 GGGGGG HHHHHH IIIII 2 copy …

Software Development app-store c++ file-system ios
Member Avatar for csurfer
0
230
Member Avatar for javamum

can someone please help me?! I have been working on this C++ project forever and I can't seem to get it. I am trying to write a program that will find the root of the following equation using the bisection method: x(1 + [summation from 1 to M of (Kj*Nj)/(1 …

Software Development c++
Member Avatar for Amponsah
0
463
Member Avatar for masterofpuppets

hi currently I am developing a game in python called TankWar, it is basically 1vs1 game style and each player has its own turn. Both players control their respective tanks using the control keys and WASD and they can specify the missile's angle, velocity, tank position. I am using an …

Software Development algorithm python tkinter
Member Avatar for masterofpuppets
0
195
Member Avatar for MichaelSammels

Yeah, I'm stumped on this one: I need to get user input from a keyboard, with some problems involved: [LIST=1] [*]I'm using an OS I created [*]I do not have access to any standard includes [*]I need to code the function myself [*]I'm in protected mode [/LIST] Any help would …

Software Development c
Member Avatar for MichaelSammels
0
102
Member Avatar for icke2433

alright ive been banging my head against a wall for three hours and i give up does anyone have a clue? the what im supposed to do is write a method named lotsOfStars that will accept two integers: the first integer indicates the number of lines to print, the second …

Software Development java
Member Avatar for petrisal
0
105
Member Avatar for fareast87

Hello everyone. If we open the jpg file with notepad, we can see some text or gibberish that doesn't give us any meaning. How do I append some text (ie password hash) to it using Java? I'm attaching a password hash to the jpg file. Hope that anyone reading this …

Software Development image java
Member Avatar for fareast87
0
93
Member Avatar for fareast87

Hi everyone. I'm going to read a content of a jpg file using java.io.FileReader. I'm successfully read the whole content of it. But the problem is, I want to only read the last 32 digit hexadecimal number which is MD5 hash I save earlier. How am i suppose to do?

Software Development java
Member Avatar for fareast87
0
105
Member Avatar for temsuimsong

anyone please tell me where i can get mp3 player for motorola v3i. Thnks

Software Development java
Member Avatar for peter_budo
0
87
Member Avatar for SFletch

I've written a small web db app, designed to sit within another page (in an iframe). It is designed to be called with a parameter (or two). iframe html calls Default.aspx?Parameter=4 The default page does nothing except check for the existance of the parameter and store it a session state …

Software Development app-store c c# c++ session
Member Avatar for kvprajapati
0
134
Member Avatar for nagaa

what is the difference between fread() and fgets()?

Software Development c
Member Avatar for molu mammen
0
3K
Member Avatar for Web_Sailor

Hi I was trying to do a type checking in my input file while reading it. I am getting some compile time errors. Compile time error report is :- [CODE]NEW.cpp:26: error: invalid conversion from ‘char*’ to ‘int’ NEW.cpp:26: error: initializing argument 1 of ‘int isdigit(int)’ [/CODE] [CODE] Line 26 is …

Software Development c++
Member Avatar for Web_Sailor
0
238
Member Avatar for hongfan

Hello! Say I have an array called BBag[3], how would I write a function void remove(int val) that removes an occurence of val in BBag? thanks! Hong

Software Development c++
Member Avatar for jeyson
0
525
Member Avatar for azwraith69

Hello... This is my naval battle game so far.. Just search i t if you're unfamiliar with the game it is only player vs computer.. can you adjust/fix my code so that: -the player is able to place his ships by means of dragging the JLabel ships at the left …

Software Development java
0
769
Member Avatar for lllllIllIlllI

I am making a slider puzzle applet. And i have this problem when i display it as an applet my buttons do not seem to act the same was as they did before i made it into an applet by using a JApplet rather than a JFrame as my extension …

Software Development java java-swing open-source puzzle
Member Avatar for lllllIllIlllI
0
120
Member Avatar for james27

hello im currently installed cx_freeze on linux. and want to make win32 exe file on linux by use cx_freeze. and then will distribute on widows platform. one of my problem is ,i can build with no problem. but whenever i run,it something weird error message was show. follow is my …

Software Development python
Member Avatar for james27
0
188
Member Avatar for punchinello

What is a segment selector? How is "overflow" defined in assembly programming language? Thank you very much in advance!

Software Development assembly
Member Avatar for punchinello
0
91
Member Avatar for xWiredx

is there a specific character for Ctrl? for example in Alt.. when you type &Save in the caption of a button.. the key that you gonna press is Alt+S.. how about for Ctrl?

Software Development visual-basic
Member Avatar for vb5prgrmr
0
78
Member Avatar for Austinjs0102

Trying to make a simple english text calculator and i keep getting some errors. Here is what i have /* * A calculator that calculates your answer and outputs it i english. */ package Calc; /** * * @author Austin */ import java.text.*; import java.util.Scanner; public class Calc { /** …

Software Development java
Member Avatar for Grn Xtrm
0
154
Member Avatar for Israelsimba

Anyone please help. Why is it that [B]Adodc.recordset.save[/B] cannot work. it says...object in the with variable not set.... can anyone tell me what the problem is and is it normal to use [code]Adodc.Recordset.fields "name" = txtname .text;[/code] what is wrong with my code. is anything missing there because i cannot …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
105
Member Avatar for lewashby

In the program below, how does the value "Poochie" know where to go in the line [CODE]crit = Critter("Poochie")[/CODE] And how do the get_name and set_name functions know when to do their thing, they don't seem to get called or anything? Thanks. [CODE]# Property Critter # Demonstrates get and set …

Software Development python
Member Avatar for Gribouillis
0
738
Member Avatar for ENCHTERP

Hello what would be the best way to return a pair<> via a structure Let me further explain. Below is the type of struct that I want to use: //compass.h struct Compass { pair<int, int> C; pair<int, int> E; pair<int, int> W; pair<int, int> NE; pair<int, int> NW; pair<int, int> …

Software Development c++
Member Avatar for ENCHTERP
0
97
Member Avatar for banders7

Code written and tested using the Borland C++ compiler. Code uses access() to determine if an input string exists either as a directory name or as a file name. If access() fails, the string is neither a file or directory and the function terminates. If it does exist, the name …

Software Development c file-stream
0
210
Member Avatar for functionalCode

I wrote a query that will return a large amount of records. When I run the query it fill a datatable then show it in a datagridview, but I am only getting 80290 rows. There is more than that. Any idea of what is causing this? Thanks

Software Development
Member Avatar for Mick Curley
0
107
Member Avatar for Ponomous

Hey, i am trying to write a program that will evaluate n!/(k!(n-k)!) right now i am just trying to get the basic formula without the factorials to work ( i can just do a function call later and get the actual values) but no luck. all the variables have values …

Software Development c++
Member Avatar for Ponomous
0
147
Member Avatar for sparksterz

Ok this is driving me nuts. I'm working in C++ and trying to delete an element from a vector It's going something like this (dirPath is a stack of directories, and dirPtrs the list of what a directory points to) [CODE] for(int i = 0; i < dirPath.top().dirPtrs.capacity(); i++) { …

Software Development c c# c++
Member Avatar for sparksterz
0
367
Member Avatar for needhelpe

HEY I JUST NEED TO PUT THE FOLLOWING: IF((N == 2) && (T CAN'T BE DIVIDED BY 4)) how can I put: CAN'T BE DIVIDED BY 4? I know divided by 4 is : (t / 4). but can not be divided by 4?

Software Development c
Member Avatar for shuva
0
126
Member Avatar for yuha

I am working on displaying student name, test score, average marks and grade as an output. This is what I have been working on, but still I couldn't manage to display the output.. The input must be get from the user and, which is the student name and the test …

Software Development c++
Member Avatar for csurfer
0
150
Member Avatar for Roebuc

Hello All, I might be developing an IVR System for a unique school project. This is something I have never done before and I am currently in the researching phase of the project. Can anyone point me to some valuable articles, tutorials, definitions, open source programs for review, and anything …

Software Development open-source visual-basic
Member Avatar for Roebuc
0
181
Member Avatar for carrese04

my teacher told us to "make a program that will print the first 10 consecutive numbers starting from 1 using the while and do" but i don't know how to do, i hope you can help me guys, thanks

Software Development c++
Member Avatar for Gaiety
0
123
Member Avatar for _dragonwolf_

I am having an issue converting words into phonetic spellings. Example: userInput = apple / outResult = Alpha Papa Papa Lima Echo I can get my code to convert a single letter to its respective phonetic. I can also get it to split a string into separate characters. Here is …

Software Development apple java java-swing
Member Avatar for _dragonwolf_
0
2K
Member Avatar for dmcadidas15

I'm having trouble with a program I'm writing and any help would be greatly appreciated. I'm supposed to use an if statement to return an error message if the values entered aren't either the strings 'on' or 'off'. Right now I have [CODE]if (b1 and b2 and b3 and b4 …

Software Development python
Member Avatar for woooee
0
101
Member Avatar for awa

Hi, I want to sort a tuple consisting of two floats and one array by the absolute value of the first float in reverse order. What I did is the following: [CODE]from numpy import * test = [(-0.02, 100.2, array([1, 0, 0])), (-4.02, 300.4, array([1, 1, 0])), (3.57, 503.7, array([1, …

Software Development python
Member Avatar for leegeorg07
0
261
Member Avatar for snurd

I need help to write the code to filter a Recordset called Data1 and a Field called AWEIGHT, when loading a form. I tried the following and it does not work. After the form is opened I only want to be able to search the filtered records. An example would …

Software Development visual-basic
Member Avatar for snurd
0
246

The End.