132,726 Archived Topics
Remove Filter ![]() | |
okay.. i'm really stuck on this program assignment i have to add two arrays (20 digits long) than sum the two. what i have done so far is (or at least attempted) is putting the digits into a temporary array than moving them into one of the arrays i want … Software Development c++ | |
I'm supposed to use a 'top-down' programming style (which is my enemy) for a simple game of Cootie, and I am very new to C++ so there will be errors abound in my program, I'm just working on getting past one error thus far: [CODE=C++]void ApplyRoll(int Roll, int Body, int … Software Development c++ | |
How can I connect to a SQL server(not SQL Compact Edition)Database from my Smart device. I am a bit stuck on this because the connection string does not seem to work it gives me a (Null reference error) I checked the SQLcommand text and that was working properly as well … Software Development dataset | |
ATOM 1430 CB ASP A 187 [B]54.776 12.063 20.348[/B] 1.00 50.88 C How do I store the above in bold into a 1x3 arrray after using StringSplit? Software Development java | |
I need to do a pretty standard dining philosophers setup for my class. (I assume most people on here know what this problem is... if not look here: [url]http://en.wikipedia.org/wiki/Dining_philosophers_problem[/url]) We need to have a variable number of philosophers between 2 and 8, and avoid deadlock and starvation. In my design, … Software Development java multithreading | |
Hi all. I'm brand new here, been on the site for about 1 minute, and I have a question. Not sure if I'm in the right thread, but the question is for VB6. This may sound basic, but I am making a program, that will open WAV music files by … Software Development visual-basic | |
Hi all i'm trying to make a plugin supported windows MDI application but my brain has stopped! i can't build algorithm! First of all my program will read dll's from plugin directory which is located at the same directory of my MDI parent application, i don't know what will i … | |
i'm attempting to use a select statement which retrieves products 'LIKE' textbox.text. However, i am given an error and cannot find a solution private void buttonSearch_Click(object sender, EventArgs e) { if (radioButtonCustomerID.Checked == true) { try { sqlConnectionNW.Open(); sqlDataAdapterSearch.SelectCommand = "SELECT * FROM Customers WHERE (CustomerID LIKE'" + textBoxSearch.Text + … Software Development sql | |
I am creating a game in which I import images from files to represent characters, etc. I have created a class called Contents which represents anything that can be placed on a tile of the gameboard. A subclass of Contents (by several levels) is Wizard, to create a wizard character. … | |
Hi Iam new to c++ programing and I have this project where I must write a program that takes in data from the employee.dat. I have the program started but now Iam stuck any help would be greatly appreciated. heres my instructions. • Note there are only 4 employees in … Software Development c++ file-stream | |
Hello all, I'm taking a programming course in python and I have to write a program using certain math functions like pow() and sqrt() and I don't know what to program. Please give me some ideas on programs. I don't need to know how to program them, just what to … Software Development python | |
Hi, I have a wired problem. I try to build a argv array which will be passed to ssh command. The following line works perfectly: [CODE]argv[n++] = "64.106.11.123";[/CODE] But when I try to get the IP address out of a string which contains it, it will add me a line … Software Development c++ | |
When a user Scans a barcode representing a # sign while focus is on the fromComboBox, code is used to scroll through the list. It scrolls through the list fine, but then it moves to the next field on the screen, because the scanner (that is what we use for … Software Development java java-swing | |
I believe that my questions are all going to revolve around the internal workings of DataGridView. While this is specifically written in VB.Net, it is definitely a general Visual Studio object question generically related to anyone working with .Net. I've been trying to find a forum where I can get … Software Development vb.net visual-studio | |
Hi everyone, I just developed an application using C# and looking forward to having your comments about it. It's a calculator based on text expression and custom functions which is named Xmart Calculator. For more details please visit [url]http://www.xmartcalc.com[/url]. This is my first on-my-own project and it really costs me … Software Development | |
I'm having trouble with using a multiset of my own data structure. It seems to complain about my comparison (less than) function when I try to iterate, but it works at some level because I can insert() stuff and call functions from the first member of the multiset. If anyone … Software Development c++ data-structure | |
[CODE]import java.io.*; class DecToHex { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter a decimal number"); String input; input=console.readLine(); int dec; dec=Integer.parseInt(input); String hex=""; int remainder; String hexChars="0123456789abcdef"; if(dec==0) hex="0"; while(dec!=0) { remainder=dec%16; hex=hexChars.charAt(remainder)+hex; dec/=16; // what does that mean? } System.out.println(hex); } }[/CODE] what does dec/=16 in … Software Development java | |
I created a stored procedure in SQL which will accept parameters from a vb.net textbox. I want it to output the count of records. stored proc: [CODE] USE [Traffic] GO /****** Object: StoredProcedure [CENTRAL\TIMOVKP].[spReturnValue] Script Date: 08/02/2010 08:57:13 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [CENTRAL\TIMOVKP].[spReturnValue] … Software Development open-source sql vb.net | |
Hi I am learning c++ at school. I am supposed to submit a project this year end. I would like to create an offline mail server using c++; something in which you can create an account and read & send messages to other existing accounts in the same computer. Once … Software Development c++ | |
hello can you help me i make a program that will determine palindrome words using array...how can i determine if my words are palindrome... example if i input: radar == radar-->this is palindrome so if i input this notice--->this will print not a palindrome please help me here is my … Software Development java | |
I am working on a program which would really become easier to write if I can use character variables as an index to an array.. for eg. if char_var is a character variable say initialized to 'a'(ascii decimal value = 97), then array1[char_var] should refer to array1[97] element. I wrote … Software Development c++ | |
Hi guys, i really need help here. I must write a program in c that reads a file .RAW that it contains photos in sequential order, every photo has a head-board of 4 bytes. (0xff 0xd8 oxff 0xe0 or 0xe1) and that way I can identify the beginning of the … Software Development c file-system | |
I was working on a project in my VB.NET Express and suddenly my code that was working fine and starting up as normal gave me this error: {An error occurred creating the form. See Exception.InnerException for details. The error is: Corrupt .resources file. Got an unexpected EndOfStreamException while trying to … Software Development vb.net | |
![]() | Hello everybody Could someone help me on this? I think it's pretty basic... newbie problems... I have a Windows mobile application and what I'm trying to do is that when the user clicks a button for the first time it changes it's text to finish task. Then when the user … Software Development c# ![]() |
i made a Browser and i made tabs so i made MouseDown Event and i put there this: [CODE] addNewTab(); getCurrentBrowser().Navigate(adress); [/CODE] but it doesnt work.. so i want to do when i click a link with the Middle Mouse Button its will open the link in new tab// how … Software Development | |
Hai friends what is the difference between sealed class and private constructor any way both doesnt allow inheritance? If any difference please tell me? Software Development | |
Good morning, thanks in advance for the help. I am creating a pig latin translator for a class (with that in mind, sorry for bad coding form) and I am having trouble. I have my function working, but it seems like I am stuck in a loop. I'm having trouble … Software Development c | |
MindFreaks Downloader :- I Have Created A Great Software And Need To Enhance It More. It Has Been Downloaded More Then 2,000 Times In The Whole World We All VB.NET Developers Can Create It Better And Better. For Source Code Check Out Source Forge. The Source Code On Source Forge … Software Development vb.net | |
Hello all, I have python 2.6 installed, i can see it in /usr/bin and I can run it in terminal. I cannot however seem to figure out how to open the Idle, or get the program to show in the redhat drop menu. Kinda new to linux (some ubuntu use, … | |
Hi, I think im trying to break c++ again in making it do something it does not want to do. Basically i have a logging class im making which simply takes a string stream and pumps it into a file. But i want 2 different versions one that trys to … Software Development c++ file-stream user-interface | |
Hi all. I need help "binding" to a specific IP address. My program is able to "bind" when using inaddr_any, but I can't seem to bind to a specific IP address using inet_addr("...."). I am basically trying to "bind" a socket to MY home pc's IP address, and a random … Software Development c++ | |
Hey everyone I have this huge program which comes with different directories like lib, include, test, modules, services etc. Every directory has a -Makefile -Makefile.am -Makefile.in The root directory has the following files -missing -Makefile -Makefile.in -Makefile.am -configure -configure.ac I added two classes with 2 header files and one of … Software Development c++ | |
How can I declare on top of my code a function that takes an array of ints as argument? Thank you. Software Development c | |
[CODE=c++]#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { cout<<"x value x2 value x3value\n\n"; int x=0, y, z; back: x++; if(y=x*x) if(z=x*x*x) cout<<" "<<x<<" "<<y<<" "<<z<<"\n"; if(x<10) goto back; system("PAUSE"); return EXIT_SUCCESS; }[/CODE] how can i get the total of x value, x2 value, x3 value...??? … Software Development c++ | |
hi pleas i need help if it's possible ; i have a c++ code which can select from a DB but i can't do the code for insert a new data in my data base . | |
Could anybody please tell me some competitive certification exams for c and c++ | |
Hello folks, I tried writing my own function on string copy and this is what i managed to do.Though it somehow works, I have got a great problem with the manipulation of pointers. Please explain or modify it for me. Thank You. #include <stdio.h> #include <stdlib.h> int main() { char … Software Development c | |
How to find the value at an address location in the memory using C pointers?? Software Development c | |
Hello. I'm using this constuction to write to file: [CODE]#include <iostream> #include <fstream> using namespace std; int main () { char data [50]; cout << "Enter data\n"; cin >> data; ofstream file("data.txt"); if (!file) { cout << "File opening error"; cin.get(); return 1; } file << data; file.close(); cout << … Software Development c++ file-system | |
simo1.java [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class simo2 extends JFrame implements ActionListener{ private JRadioButton red; private JRadioButton yellow; private JRadioButton blue; private JRadioButton green; private JRadioButton magenta; public simo2() { setLayout(new FlowLayout()); setVisible(true); setSize(400,250); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); red=new JRadioButton(" red"); yellow=new JRadioButton(" yellow"); blue=new JRadioButton(" blue"); green=new JRadioButton(" green"); magenta=new … Software Development java java-swing | |
I am trying to do a program which does simple maths by scanning using provided three items (two number and an operator) then let the program do the calculatin and printout the result. The way i have attempted it so far (below is the code) the value of the operator … Software Development java | |
Could someone tell me how could setting up index would affect my select statement? I read that it boost performance especially for finding specific values, but how? Software Development sql | |
this code shows the second oval only when maximize is pressed otherwise only the one oval is shown and the first oval does not go to the getHeight() where as the one appearing after maximizing repaints correctly [CODE][/CODE][code]import javax.swing.*; import java.awt.Graphics; class drawpanel extends JComponent implements Runnable { int i=10,startx; … Software Development java java-swing | |
Hi, this is going to be a very broad question and any info or suggestions are welcome! I am writing an application which uses a Mon-Sunday approach with times slots from 9.30am till 7.30pm. These time slots can be filled in with data (a single string). Currently this data is … Software Development xml | |
Hello. I'm writing DOS program with Visual C++ 6 and i want to log date and time to file. I'm new at programming so please tell me all #include <> and full syntax :) Also I tried time() but i recieved error: error C2064: term does not evaluate to a … Software Development c++ | |
Hello I am writing a class Test. I considered a field “int age” to see how long each instance of this class has been created. In other words i want to know the age of each instantiated object of this class. I assumed i should use the Timer class. I … Software Development | |
Hi To All, I just wanted to ask you all brainies that I wanted to attempt Microsoft Certification For C++ Language. Now when I searched Microsoft certification it showed up results such as Microsoft Certified ...(Something Something). Now can anyone give me a link to the information about Microsoft C++ … Software Development c++ | |
how to fix a search function in vb 6.0 to search in ms access database. i have installed vb & ms access only.and i want to generate a report of search result in the form. thanks for any help... Software Development visual-basic | |
I'm running MSSQL Server 2008 I did this: set CLASSPATH= C:\Program Files\Microsoft SQL Server JDBC Driver 3.0\sqljdbc_3.0\enu\sqljdbc4.jar (I dont know where I can check if this has been executed correctly) Then when approaching this URL: [url]http://localhost:8983/solr/db/dataimport?command=full-import[/url] Using this data-config.xml: [code=xml]<dataConfig> <dataSource driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://localhost:1433;databaseName=wedding" user="sa" password="r00kw0rst" /> <document name="weddinglocations"> <entity name="location" … | |
I am interested in Current threads, such as : rare program :s [url]http://www.daniweb.com/forums/thread300723.html[/url] how to create 2D array of enumeration values [url]http://www.daniweb.com/forums/thread300738.html[/url] which have a common goal: to store the names of Enums objects in a 2D array of String. For example, we have a pack of porker cards defined … Software Development api daniweb-api java |
The End.