43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Geowil

Here is my code at the moment: [code] import java.util.Scanner; class menuOperations { String[] fNames = new String[50]; String[] lNames = new String[50]; String fName = " "; String lName = " "; String sFName = " "; String sLName = " "; int dAmount,dTimes,i; Scanner in = new Scanner(System.in); …

Software Development java
Member Avatar for Geowil
0
101
Member Avatar for Don_k

Hi, I would like to using POSIX API system calls in C, and via command line arguments know how to go about extracting from an archive file.(in Linux). I have done the archiving process it archives the files I enter into the command line , and the last but one …

Software Development api c c# c++ file-system
0
123
Member Avatar for ezbaiby

Hey I have a program that has a webBrowser navigate through a few pages, and when it gets to the last page I set it to navigate to, checks if there is a certain string on that page. I just switched my code around to use multithreading and now the …

Software Development multithreading vb.net web-browser
Member Avatar for ezbaiby
0
827
Member Avatar for alonewolf23

My original question stated: 1. Write a function named "digits" that takes an integer argument in the range from 1 to 9 , inclusive, and prints the English name for that integer on the computer screen.[B][U] No newline character should be sent to the screen following the digit name.[/U][/B] The …

Software Development c c# c++
Member Avatar for alonewolf23
0
922
Member Avatar for LevyDee

for removing the last element from a chain in my linked list? [code] Action *temp = head; //Action is my node while(temp != 0) { if(temp->link == tail) //tail is my last node { delete last; tail = temp; tail->link = 0; return; } temp = temp->link; } [/code] I …

Software Development c++ linked-list
Member Avatar for LevyDee
0
110
Member Avatar for inamabilis

Hi All, Been coding Python on and off for a year now, but only just started looking at wx. Got a problem in a larger project I'm working on, trying to remove all items from a GridSizer - I've created the following test code to demonstrate the problem, but to …

Software Development gui python
Member Avatar for inamabilis
0
2K
Member Avatar for stefilina

hy, i'm new in .net -c# and I have a problem.I have a database with a field where is a long text, for example a description for a product.Well, i want to create a form where where i select something from a listbox, for example the name of product, i …

Software Development display
Member Avatar for stefilina
0
162
Member Avatar for FAITH2011

Posted by mistake..............Sorry

Software Development python
0
73
Member Avatar for horserider

How to put this tool in vb.net 2010 plz check this image.. i hav rounded tat tool in red colour. [url]http://img192.imageshack.us/img192/6697/24961035.png[/url]

Software Development vb.net
Member Avatar for codeorder
0
128
Member Avatar for neutralfox

Hello friends, You have been of great help to me till now. I got a new problem , I am unable to run the JAR file. When i click on the Jar file, I got the following error : "Could not find the main class: socketprog.Main. Program will exit." Thanks …

Software Development java
Member Avatar for Marin88
0
2K
Member Avatar for mrectek

HI all, Im trying to create a simple MP3 player. I hope that by amalgamating a series of strings, example 1, that they can collectively contain the full play and filename/path instruction instead of the self-contained method in example 2. When I try to compile the solution in example 1 …

Software Development c++
Member Avatar for mrectek
0
756
Member Avatar for MasterGberry

[CODE]allPatches = patchFiles.Select(patchFile => Patcher.TryReadPatch(patchFile, true)).ToArray();[/CODE] I don't understand what this line of code does....allPatches is a class, and patchFile is a string. What is this doing? And is there a way to do the same thing in C++? Ty

Software Development
Member Avatar for MasterGberry
0
90
Member Avatar for reemhatim

I'm doing a second year student in computer and information sciences and it is the first time for me to do a project so I need help . My problem is how to enter a branch information and update the branch information,update holder information .Ijust need a hint to start. …

Software Development c++
Member Avatar for reemhatim
0
200
Member Avatar for MARKAND911

I have a number 2879068. I want to display it in currency format as like [B]28,79,068[/B] in C# Can any one help me

Software Development c#
Member Avatar for MARKAND911
0
130
Member Avatar for vedro-compota

hi everyone)) Please tell me - where is the mistake here - [CODE]struct address {char* city ; char* street; int housenumb ;}; struct addinf {int age; struct address* address;}; struct student {int number; int kurs; char* name ; struct addinf* addinf;} stud; stud.number=1; stud.addinf.address.housenumb =123;[/CODE] thanks in advance)

Software Development c
Member Avatar for vedro-compota
0
302
Member Avatar for zetologos

this code doesnt work, as in it only asks the user for getchar once and putchar once. i tried putting it in two method and it didnt work either. also whether it be char or int it is the same. that leads me to another question. why is it allowed …

Software Development c
Member Avatar for Narue
0
136
Member Avatar for inilahs

Hello everybody .. This is the first time i post on to daniweb for a favour. Am just proceeding with a math contest. in general say n , need the catalan series with formula 2n!/(n!*(n+1)!) . i am in need of the answer for n=1000. I thought cud try this …

Software Development java
Member Avatar for JamesCherrill
0
118
Member Avatar for vedro-compota

Hi guys! please tell me - how to determine the length of the input stream without reading simbols ? (for save the input string) thanks in advance ))

Software Development c
Member Avatar for vedro-compota
0
86
Member Avatar for deanus

Hi, I've recently downloaded MSVC++ 10.0 Express from the Microsoft website, and I can't seem to find a new project template for 'setup and deployment'. Can I download it individually from somewhere? Thanks, Dean

Software Development c++
Member Avatar for Ancient Dragon
0
97
Member Avatar for shack99

Hi all, I'm having a bit of a problem with my code. I've created an arraylist method and when values are inputted it prints them one by one. [CODE] import java.util.*; public class ArrayListDemo{ public static void test(int i){ List arrlist = new ArrayList(); arrlist.add(i); System.out.print(arrlist); } public static void …

Software Development java
Member Avatar for shack99
0
180
Member Avatar for AmerJamil

i have two questions 1st is can any one please tell me what is the role of setprecision in C++, why it is used? 2nd is : this statement [code]totalS+=sales[i][j];[/code] is equivalent to what, i.e what is the role of this += thanks alot

Software Development c++
Member Avatar for frogboy77
0
148
Member Avatar for vedro-compota

Hi guys! )) please reply - how to clear the input stream of the console? thanks in advance ))

Software Development c
Member Avatar for vedro-compota
0
194
Member Avatar for abelingaw

Im getting this error: [ICODE] Arguments are of the wrong type, out of range or are in conflict with another [/ICODE] Here's my code: [CODE] rivate Sub cmdPrintSel_Click() Call Con("Database.mdb") RecSet.Open "Select Payroll.EM_ID, Payroll.EM_Name, Payroll.EM_Dep, Payroll.Monthly_Rate, Payroll.dDate, Payroll.xBonus, Payroll.xOT, Payroll.GSIS, Payroll.PH, Payroll.InTax, Payroll.Others, Payroll.absences, Payroll.Advances, Payroll.NetPay " & _ "From …

Software Development visual-basic
Member Avatar for jhai_salvador
0
109
Member Avatar for alonewolf23

[CODE]#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; digits() { If(num==1) cout<< "one"; } int main(int nNumberofArgs, char* pszArgs[]) { int num; cout << "Enter a number 1 to 9:"; cin >> num; digits(); system("pause"); return 0; } [/CODE] I just want to make a simple function that when …

Software Development c++
Member Avatar for jonsca
0
841
Member Avatar for MasterGberry

So basically I am working on converting a C# project to C++. And i am confused on how the beginning of the C# project works, it has the following code in it, and I am trying to make this C++ compatible, but I can't seem to find where the arguments …

Software Development
Member Avatar for MasterGberry
0
92
Member Avatar for MasterGberry

Getting two link errors with my code provided below They are being generated by lines 38-46 I believe. I can't seem to find an issue... 1>AoE2Wide.obj : error LNK2020: unresolved token (0A000340) "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > AoE2Wide::Program::_gameDirectory" (?_gameDirectory@Program@AoE2Wide@@2V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A) 1>AoE2Wide.obj : error LNK2001: unresolved external symbol "public: static …

Software Development c++
Member Avatar for MasterGberry
0
181
Member Avatar for EddyLLC

Hello all, working in VB6 I want to pull all records from Access table named Answers that in a field named Color have "White". Within that record there are 10 fields of various numbers that I want to sum and average. In short I want to pull all records with …

Software Development sql visual-basic
Member Avatar for EddyLLC
0
117
Member Avatar for NewOrder

i have my main and a function that deals with an array. [CODE] public static void Main(string[] args) { Pieces [,] pieces; ChessBoard(out pieces[,]); // The IDE shows that the mistake is here. It says that the overloaded method has some invalid arguments! How can i make it so that …

Software Development ide
Member Avatar for Mitja Bonca
0
99
Member Avatar for globberbob

I have been looking around a while, trying to figure out at the very least, how to take a string like "25 from a car accident" and have 25 as a useable integer and "from a car accident" as a useable string. what i'm trying to accomplish is doing this …

Software Development c++
Member Avatar for globberbob
0
119
Member Avatar for fairy1992224

I need to complete this project by next Monday. How do I do a menu selection EXAMPLE: Press 1 to enter the model number. Press 2 to delete a record. Press 3 to exit the program. I'm doing this project on NetBean using Java. Can someone please teach me? Thanks!!!!

Software Development java
Member Avatar for peter_budo
-1
106
Member Avatar for Viperino

Hello. I'm looking for a way to format lines on a MsgBox, so that the records don't seem out of place. What I have is this: [URL="http://sites.google.com/site/hqupt666/home/Untitled.jpg?attredirects=0"]http://sites.google.com/site/hqupt666/home/Untitled.jpg?attredirects=0[/URL] If you can't see it it's something like this: Num Name HF 1 something 11 2 somethingelse 22 3 andsomethingelse 33 I've been …

Software Development listview vb.net
Member Avatar for Viperino
0
4K
Member Avatar for o0OPatriciaO0o

Hi! This is a real simple and stupid exercise I thought I knew how to handle. The complete heading is: - Write a function in C whose input is a real number and whose output is the absolute value of the input number. The following is the code I've developed. …

Software Development c c# c++
Member Avatar for o0OPatriciaO0o
0
242
Member Avatar for amir malik

hello everyone... m writin a code that will take data frm stdin from user which can b of indefinte size.. but i cant make use of static arrays....and even calloc and malloc is not working properly...what sud i do??? thanks for help...

Software Development c
Member Avatar for amir malik
0
285
Member Avatar for Elandir

Hi there, I have a little problem with commands. I know this is about shell scripting but i couldn't find a thread for commandlines. So i have this assignment to "display all the lines for tcp- services and udp- services and count the lines" and i honestly don't have an …

Software Development shell-scripting tcp-udp
Member Avatar for Elandir
0
210
Member Avatar for SpecialForce

Hello, I have the following code: [CODE]#pragma warning(disable: 4786) #include <io.h> #include <string> #include <vector> #include <list> #include <iostream> using namespace std; // structure to hold a directory and all its filenames. struct FILELIST { string path; vector<string> theList; }; void TransverseDirectory(string path, list<FILELIST>& theList) { struct _finddatai64_t data; string …

Software Development c++ data-structure
Member Avatar for SpecialForce
0
196
Member Avatar for vedro-compota

Hi guys ) Please help me - I can't understand - what's the meaning of this error message . [QUOTE]Object reference not set to an instance of an object.[/QUOTE] for this piece of code - [CODE]CityName = "NY"; this.MapCityMass.ArrayOfCities[this.NumberOfCities].CityName = CityName; [/CODE] this class's code - [CODE]public class CITY { …

Software Development
Member Avatar for vedro-compota
0
197
Member Avatar for methmignonne

hi, i want to convert a color image into a greyscale image. after loading the color image, i have to count pixel by pixel to get the frequency of the color (0-255) to be placed in an array. can anyone help me how to count the frequency? thx in advance.

Software Development java
Member Avatar for methmignonne
0
1K
Member Avatar for Dorson8009

Hello, this is a newbie question, sorry for that, I am trying to port some Java code to C++. In this code I have a hashmap connecting string values to float arrays of varying sizes. They are specified like this: [CODE=Java] HashMap <String, float[]> hm = new HashMap <String, float[]> …

Software Development c++ java
Member Avatar for Dorson8009
0
168
Member Avatar for MaddTechwf

I'm trying to call other EXE's from my program I'm writing. Inside my project I have a folder called progs with exe's inside it. How can I call these from button clicks?

Software Development vb.net
Member Avatar for betabasic
0
101
Member Avatar for hitomi_inukai

Hi. I'm developing a software for my degree project. I have some problems in sorting the probability item from linkedList object. Here are the snippets of my code (I have almost 400 lines, so if the below is not enough, please let me know) CLASS LINKEDLIST [CODE] class LinkedList implements …

Software Development java
Member Avatar for hitomi_inukai
0
109
Member Avatar for 54uydf

I can't figure out what am I doing wrong!! please help me before I lose it! I'm trying to send 2 different strings to a function that will put each word in the string into a MAP. string 1:[B] "I CAR Collision Repair Training"[/B] string 2: [B]"Autocar India"[/B] my map …

Software Development java
Member Avatar for 54uydf
0
156
Member Avatar for david56connor

Hi, I have a piece of code which loops through checked checkboxes to do something with each of them. After each turn in the loop I want to pause before it continues to the next checkbox until the user enters a piece of text into the text box. I have …

Software Development vb.net
Member Avatar for david56connor
0
2K
Member Avatar for kdcorp87

[CODE]FileInfo[] Images; Images = Folder.GetFiles("Image Files (JPEG,GIF,BMP)|*.jpg;*.jpeg;*.gif;*.bmp|JPEG Files(*.jpg;*.jpeg)|*.jpg;*.jpeg|GIF Files(*.gif)|*.gif|BMP Files(*.bmp)|*.bmp|All Files|*.*", SearchOption.AllDirectories);[/CODE] getting error here [B]An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional information: Illegal characters in path.[/B] completely confused because it works nice in other app. what i m missing? help

Software Development c c# c++
Member Avatar for kvprajapati
0
156
Member Avatar for venky.skcet

Hi Friends :cool: Am creating a personal diary application using VB.Net. When i publish the solution i get the .exe file. But when i install it, it gets installed in the C drive by default. My question is cant it be installed in someother drive. If it cant someone pls …

Software Development vb.net
Member Avatar for kvprajapati
0
224
Member Avatar for aaronmk2

When I read in this file it reads in the entire line. [CODE] string filename ="f:\\date.txt"; FileStream f = new FileStream(filename, FileMode.Open); StreamReader stream = new StreamReader(f); int line; int[] array = new int[15]; for (int i = 0; i < 15; i++) { line = stream.Read(); // header line …

Software Development file-stream
Member Avatar for aaronmk2
0
92
Member Avatar for blueman:-0

I have device and have the driver of it ,the device send data to me by serial port how i can receive that data in java .

Software Development java
Member Avatar for blueman:-0
0
86
Member Avatar for MaddTechwf

I'm trying to figure how to pull the computers workgroup name using VB.NET. Any help would be great.

Software Development vb.net
Member Avatar for Unhnd_Exception
0
734
Member Avatar for bibiki

hey there, I have the following code: [CODE] import java.io.*; public class Karakters{ public static void main(String[] args) throws IOException{ FileWriter in = new FileWriter("karakters.txt"); PrintWriter outfile = new PrintWriter(in); char x = 'A'; for(int i = 0; i < 300; i++){ System.out.println((i + 1) + " " + (char)(x …

Software Development java
Member Avatar for bibiki
0
4K
Member Avatar for MasterGberry

Note, this is converted from C# with a converter program and some of my own hand coding, there is definitely a possibility that the compiler is right and something of the sort does not exist in C++, or its named diff. I am having an issue with the long !System::Windows....line, …

Software Development c++
Member Avatar for MasterGberry
0
251
Member Avatar for MaddTechwf

I'm playing around with VB.NET once again since college and I'm trying to recreate a program that GeekSquad uses called the MRI for a friend. Upon doing so, I have run into a few snags. The must present one is once I publish my application to a particular spot that …

Software Development vb.net
Member Avatar for MaddTechwf
0
130

The End.