132,722 Archived Topics
Remove Filter ![]() | |
I've read a few threads on this site; all seem to provide almost everything I need to complete this project, but I just cannot get there. What I am trying to do is, instead of reading the raw text from a local text file and counting the word, have the … Software Development c++ | |
Hi i'm new to programming . I'm creating a project in C#.net using visual studio. I'm facing problem. Creating a login button and a new login ID button. the new login ID should store the details in the database and when the same is entered in the login text box, … Software Development sql visual-studio | |
here's my code [CODE] Dim suppQuery As String = "SELECT [Supplier ID],[Company],[Last Name],[First Name],[Email Address],[Mobile Phone],[Office Phone],[Address],[City],[ZIP/Postal Code],[Notes] FROM [Suppliers]" Dim dsSupp As New DataSet Dim daSupp As New OleDbDataAdapter(suppQuery, cnPharma) Dim cbSupp As New OleDbCommandBuilder(daSupp) Try daSupp.Fill(dsSupp, "Suppliers") Dim rownum As Integer rownum = listSupplier.SelectedIndex With dsSupp.Tables("Suppliers") .Rows(rownum).Item("Company") = … | |
[B]Hello I'm New User in this forum I need to simple code in Vb.Net for Open / close USB Port (Windows 7) ... I'm waiting replay and Thanks you PS : I do not know Good the English language [/B] Software Development vb.net | |
I'm having trouble even getting started with this problem. I've tried looking at other examples, but I'm completely stuck. The question and my code(not even sure if im on the right track) is as follows: Write a function called decToBinaryString that recieves a non-negative int and returns a string that … Software Development c++ | |
i am to write a C++ program to output the binary (base – 2) representation of a decimal integer. the program should accept a positive integer from the user. After verifying that the input is valid, the program should call a function named toBin, which outputs the binary representation of … Software Development c++ | |
Hey I've only been coding for a couple of days and I got this code im working on for some reason the computer only guesses the number 42 instead of a random number can someone help me? Heres the code: [CODE]/*========================================================================\ |This is basically the guess my number game | … Software Development c++ | |
Hello, I am trying to create a script that will compare two identical pieces of hardwares configuration files (that are added via a GUI provided as part of the device) and to synchronize the two devices configurations. I currently have a shell script that connects to and downloads the configuration … | |
![]() | |
Hi Guys, I'm wondering if someone can help me out with a problem I've been having with VC++. I'm obviously just beginning to learn C++ and have been working with CodeBlocks and VC++ 2010 Express. My problem is that the following code compiles in CodeBlocks but gives me numerous errors … Software Development c++ visual-studio | |
Hi, i'm new to C++ and been trying to write a simple program to compare the randomly generator number with the number input. But once i got the num1 = num2; the program keep prompting for new input. Any help would be appreciated. Thanks in advance! [CODE]#include <iostream> #include <stdlib.h> … Software Development c++ | |
Hey guys, I was wondering if any of you could help me with some stuff which may seem obvious to you but I'm a beginner. I'm making a calculator and have reached the part where I am making the buttons change the string on the calculator's "screen". The way I … Software Development c++ | |
Hi Everyone, I'm fairly new to Java, and am having problems in trying to convert an ArrayList containing String arrays to an array of String arrays. I thought it would be relatively simple to do, but I keep running into problems. I've looked at all the examples I've been able … Software Development java | |
New to python and I'm trying to save and import my first modules. When I go to import my first module which I've named convert.py I receive the following error: Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import convert File "C:\Python27\convert.py", line 1 Python 2.7 (r27:82525, … Software Development python | |
Hi, I have a struct that looks like this [code] struct Info { char **field_names; double **data; int *cindex; } [/code] I have to serialize an object of this struct and send it over a socket and deserialize at the other end. What is the best option for this? Software Development c++ | |
How can I extract the data for a specific XML element and convert it into byte array My XML file; [CODE] <?xml version="1.0" encoding="utf-8" ?> <root> <creditcard> <number>19834209</number> <expiry>02/02/2002</expiry> </creditcard> <name> <first>Mary</first> <mi>V</mi> <last>Jones</last> </name> <personal> <dob>01011966</dob> <gender>male</gender> </personal> </root> [/CODE] I want to extract the element <creditcard> and all … Software Development xml | |
How could i know the total elements an array can store??? whether it depends on the datatype or os(32bit or 64bit)??? Software Development c | |
Hello Colleagues, I have not done C programming in years. I need some help in debugging a C program written by someone who has left our team. I have marked the lines having the error with "-->" Your kind assistance is very much appreciated. Here's the code: 1 #include <stdio.h> … Software Development c encryption open-source | |
[CODE]board = [['.', '.', '.'], ['.', '.', '.'], ['.', '.', '.']] pieces = ['X', 'O'] movetype = [0, 1, 2] turn = 0 breakgame = 0 def movecheck(): if x in movetype: if y in movetype: if board[x][y] in pieces: print 'Invalid move!' else: board[x][y] = pieces[turn] turncheck() else: print … Software Development python | |
Hello everyone, I have created a text generator that acts on certain factors. I want to send every generated sentence via e-mail to a user but I noticed that everytime I send it, I encounter some problems. Below I show my code and under my code, I will describe the … | |
How to return two values from one method ?? for example i've made the following program. [CODE]import java.io.*; class vowel{ public static void main (String args[])throws IOException{ String sentence; InputStreamReader isr = new InputStreamReader (System.in); BufferedReader br = new BufferedReader (isr); sentence = br.readLine(); System.out.print (vowels(sentence)); } static char vowels … Software Development java | |
I am hoping someone can help me...I am totally frustrated! I am using Visual C# 2010 Express (which might be the problem right there, but I wouldn't think so). I have added a .dbml (LINQ to SQL) file to my project and I am about to create a new connection. … Software Development asp.net client-server sql | |
Hello friends, I am working on my final yr project using Java Swing. Now for the database part can anybody tell me which I should use among Servlets, Oracle or JSP or anything others. I mean which is currently used in industry at large. Hope to get advice. Regards Supratim Software Development java java-jsp java-swing oracle | |
Hello, I've learnt a bit more C since I posted [url=http://www.daniweb.com/forums/thread302037.html]the last code review thread[/url], so I've decided to rewrite the Mystery Word application, this time using strings, pointers and pointer arithmetic, and dividing the program into files (I've only got three of those). I've also created a very basic … Software Development c daniweb-feedback | |
I can't decide what data structure to use for a program I'm making. the program I'm making is a football table, the variables used so far are; string team; int played = 0, goalsfor = 0, goalsagainst = 0, goaldiff = 0, win = 0, draw = 0, lose = … Software Development c++ data-structure | |
I have recently stumbled upon a program that permits a person to have an animated image "dance" across the users' current active window. The problem is.. something very strange occurs when I have this animated image dancing across MY program's main window. For some reason, whenever I either maximize or … Software Development c++ | |
hello all i'm using cUrl and mysql in PHP but new to c++ for connecting to remote mysql database and run query what i need? should i install mysql connector? where are mysql libraries? may i download a large file for example 400 mb in c++ using cUrl ? i … Software Development c++ file-stream mysql | |
I have a problem when i am writing into files in a binary format.I have noticed that, it writes two times into the file. Here i have attached the code. [CODE] #include<iostream> #include<fstream> #include<string> using namespace std; class bank { protected: char receive[20]; public: } int main() { fstream file; … Software Development c++ file-system | |
Hi all, i'm developing a program for my company, and i need a little help. How can i create an interface that need to be also a form? Is possible, there is an interface that create the Form class, or i'm so unluky that i need to use an abstract … Software Development | |
Hi all, i am just asking for help to make this code work, i wrote it but it just tell me "too many arguments for Binomal Function" What should i change ? [CODE]#include <iostream> #include <cmath> using namespace std; long factorial (long); long binomal (long); int main() { int x, … Software Development c++ | |
How to find out original extension of a file in a terminal or online pls help me Software Development c | |
I need help on passing checked list view items into one message box. my current code outputs multiple message box with the name of the item, depends on the number of items checked. what i need is to output into a message box all the items checked in my list … | |
Hi, still very new to the C Language and just needed some Clearing up and some help please. Im writing a program where i have to read from a file that says the name of a person and 6 "lottery" numbers in this format. [ Mike Kobalt 12 15 34 … Software Development c file-stream file-system | |
Hi All, I am really new to the programming world and I am trying to solve a simple problem for my python course- I have to write a script that retrieves Columbia University's webpage and prints only the titles of the news stories on the main page. I have to … Software Development python | |
Hello everyone, I'm not that much of a talker so I'll get straight to the point: I need to implement a hash table in C++, After reading about this topic and algorithms from the book by Cormen, I started to implement it. I wrote it, but it doesn't work how … Software Development c++ | |
how to establish a connection after validating all the fields in a form can any one please help me with code Software Development sql | |
Hi i am getting this error even after i have done import java.io.*; Exception in thread "main" java.lang.NoClassDefFoundError: java/io/Console at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:127) Does anyone have any solution to this problem Software Development java | |
A java program that accepts one string as input Example Input: Bleach,22,13,TiteKubo Output: Name of manga: Bleach No. of copies: 22 Book borrowed: 13 Author: TiteKubo Software Development java | |
Hi, I found a number of post talking about this in C, but could not solve it in C++. I have 4 hex characters to represent a length. These need to be stored like this, in the case where length=16 ([URL="http://www.easycalculation.com/decimal-converter.php"]this online converter[/URL] told me that 16 converts to A … Software Development c++ | |
Hello everybody, I am Pinak. I want to build an apllication regarding encryption. However, I am confused. [B][COLOR="Green"]Should I use Applet or Swing ????? [/COLOR][/B] Can you tell me what is the difference between the two??????:) Software Development encryption java java-swing | |
/*A personal phone directory contains room for list names and phone number for 30 people. Assign names and phone numbers for the first 10 people. Prompt the user for a name, and if the name is found in the list,display the corresponding phone number.If the name is not found in … Software Development gui java java-swing | |
This program should have a menu:it can use a switch method ... MENU: [1]=ACCEPT; [2]=DISPLAY THE SMALLEST; [3]=DISPLAY THE LARGEST; [4]=DISPLAY THE SUM; [5]=DISPLAY ALL; [6]=EXIT; Could someone help me to this problem,and this program that i do i still encountering some errors..please do try to help me.. import java.util.*; … Software Development java | |
I am a complete begineer in this field [B]multithreading.[/B] I have searched the internet; came across these [B]POSIX[/B] and [B]BOOST[/B] things. I dont know how to start. Can anuone guide me..I had downloaded the BOOST library but I couldnt find anything regarding the POSIX([I]and ? is the pthread[/I]). Which to … Software Development c++ multithreading | |
[CODE]/* Round Robin Scheduling Simulation*/ #include <stdio.h> #include <stdlib.h> ////////////////////////////////////////////////////////////////////////// /* Process Data Structure */ struct process { int pid; /* Process ID */ int burst; /* CPU Burst Time */ int priority; /* Priority */ int working; /* Working time, for round-robin scheduling */ int waiting; /* Waiting time, … Software Development c data-structure | |
I just want to know how Can I display an asterisk pattern like if the user selects on the combobox.additem = 1 then it will display * ** *** ** * If user selects combobox.additem= 2 then * ** *** ** * ** *** ** * then so on and … Software Development visual-basic | |
Dear developers, I decided to code a little music player to get some experience with JAva, but I do not have any idea how to code it in Java. Is there any API or Library to be used for such project or any other suggestions? Thanks, | |
When i access a user-defined java class in matlab, it says >> t=Areas ??? Undefined function or variable 'Areas'. Areas is my classname in java. I dynamically added the path of the directory containing Areas.class file Thank you in advance Software Development java | |
I'm working on an e-voting system right now. i'm having problems in passing a selection from list view to a list box. first is when an item is checked, it is pass in the list box.. but in my case the item is pass when the item is uncheck. second … | |
Hello For example if i want to implement my own protocol, i can proceed by implementing the extra features on UDP on the application it self and thus achieving my task. But what if i want to implement it on the OS level just like TCP or any other protocol, … Software Development java operating-system tcp-udp |
The End.