132,726 Archived Topics
Remove Filter ![]() | |
Can anyone tell me what this means and how to fix it? I keep getting this warning, the title of this post, and I'm not quite sure on how to fix it. It is messing up what I'm trying to do. Here's the code: [CODE]#include <stdio.h> #include <stdlib.h> #define MAXLINELEN … Software Development c data-structure | |
hi everybody!!!!!!! can anyone tell me how do we test the data type of variables in java, like if a variable is a string, the system prints out that this variable is string or not. more especially how can we test this on primitive data type? waiting for your replies!!! Software Development java | |
Hi All, Refer me a good C++ book, specially for Exceptional Handling. thanks mridula. Software Development c++ | |
Hi guys good day. Ive create a pc time logger to detect the time-in, and to set timeout of the user. But i am having problem regarding on getting the time left value. Time out value will be the timein value plus 2 hours.Here is my code in Timer1. [code=vb] … Software Development visual-basic | |
[b]Purpose of the program:[/b] This program is supposed to use a void function called removeLetters to remove both uppercase and lowercase letters from a given string. The function isn't allowed to use square brakets (ie no arrays) and the only (1) local variable allowed must be a pointer. [b]Problem:[/b] The … Software Development c++ | |
Hi, I'd like to be able to put a JTable inside a ScrollPane, so that when the table is large, the horizontal and/or vertical scrollbars 'kick in', and when the JTable is small, I just get a small JTable. Also I want to limit the size of the scrollpane to … Software Development java | |
Hi everyone:cool:, I'm new in this forum. This is my first post. Can you guys give me any idea about adding a grid control into a combobox (Windows Application)? While developing desktop applications with C# I felt many times that it would be preety good and very useful to have … Software Development vb.net | |
i have a question about the logic about the calendar question. I have to make a calendar, so user inputs a month (number 1-12) and a date, and the output is suppose to be: Friday, January 1, 2010. Suppose to be written in just simple c, no arrays or anything, … Software Development c | |
This is homework, but I'm stumped on this problem. It prints store->storeId properly in "case 0", but storeId prints with the name added in the "printMall" function, i.e. "L01vacant" it then prints "vacant" for store->store name as it should and the rest of the printMall function prints properly. I've changed … Software Development c | |
Hello. Good day. I have this problem with my current program right now. I have a separate report created in Seagate Crystal Reports, and I'm integrating it to my program in C#. I'm using CrystalDecisions and calls the ReportDocument class. Under that report, I have many subreports. What I want … Software Development c# | |
I am supposed to be writing a program that will calculate sales in a week. Every week 200.00 dollars is earned, then sales is calculated on top of the 200.00 (i.e., 5000.00 in sales, would be 200 + .09 * 5000.00). My code is below, but I am having problems … Software Development c++ | |
I wrote the following code for a homework problem, but it's stuck in an infinate loop. I'm not sure how to correct that problem. The other issue is I want the answer to be given in two decimal places and not rounded in any way and it appears that my … Software Development c++ | |
I am trying to compile some software I found online. I am getting a bunch of these errors: [code] No rule to make target `/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h', needed by `formCluster.o'. Stop. [/code] In the Makefiles, there are certainly lines like this: [code] transform.o: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h [/code] The errors seem to go away if … | |
i get an "This SqlTransaction has completed; it is no longer usable." error everytime i run my code: the main code [CODE=vb.net] If DBOpen() = True Then Try 'begin transaction BeginTranscation("Clearance") 'receipt CallSP("InsertReceipt") InsertParam("@ORNo", Trim(txtOR.Text)) InsertParam("@FACode", "***") InsertParam("@Amount", txtAmount.Text) InsertParam("@Nature", "Business Clearance") InsertParam("@PaymentType", "Cash") InsertParam("@DateIssued", dateDocIssue.Text) ExecSP() 'document CallSP("InsertDocument") InsertParam("@PersonID", … Software Development vb.net | |
i want to put multiple instances of sqldataadapter into a single transaction. how can i accomplish this? Software Development vb.net | |
i am trying to create a function that i can put in my program but i have got myself stuck. basically i have a string that contains letters. for example 'gototheshopatnoon'. from that string i need to transfer all the letters to another array and discard any duplicate letters. so … Software Development c++ | |
I have a homework assignment that where I need to find the longest word that has the most amount of consectutive vowels. here is the description: The text file words.txt contains an alphabetically sorted list of English words. Note that the words are in mixed upper and lowercase. Write a … Software Development c++ | |
I have this code(in a separate thread if it helps): [CODE=C#] // I know i don't store data from here. There is a reason for it. HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(mainUrl); req.CookieContainer = this.cookieJar; req.Method = "GET"; req.GetResponse(); // Another request HttpWebRequest gReq = (HttpWebRequest)HttpWebRequest.Create(secondaryUrl); gReq.CookieContainer = this.cookieJar; gReq.Method = "GET"; … Software Development | |
[code] #include <iostream> #include <vector> using namespace std; int main () { int N =0; int Range=0; int NumberOfCases=0; cout << "Enter N" <<endl; cin >> N; cout << "Enter Range" <<endl; cin >> Range; cout << "Number of cases" <<endl; cin >> NumberOfCases; vector<double> range_time_Vector(Range); int K = N; … Software Development c++ | |
Hi there guys thanks for you help. Basically I have created a c# form based rot13 encryption program. The problem I am having is implementing these into a class with methods which can be accessed from the from. In the main from I have a textbox called message textbox I … Software Development c c# c++ encryption file-stream | |
[CODE]//function example #include <iostream> #include <cmath> using namespace std; float cutoff(float& windchill) { int z; z = (int)(windchill + 0.5); return(z); } float calculate (int& t, int& v) { float windchill; windchill = 35.74 + (0.6215 * t) - 35.75 * pow(v,0.16) + 0.4275 * t * pow(v,0.16); return(windchill); } … Software Development c++ | |
What is wrong with my code? Prompt user for hourly rate. If less than $5.65 or greater than $49.99 display error message. [CODE]{ //declare variables const double HIGH = 49.99; const double LOW = 5.65; double HourlyPayRate //input Console.Write("Enter your hourly pay rate:"); HourlyPayRate = Convert.ToDouble (Console.ReadLinne()); //output if (HourlyPayRate … Software Development | |
I am trying to get some code I found online to compile. It looked like this: [code] #include <iostream> #include <list> using std::list; template <class T> class leda_list : public std::list<T> { private: iterator loopIter; [/code] the error was: ‘iterator’ does not name a type I tried changing it to: … Software Development c++ | |
Hi? i'm new at programming and im trying to decipher a code. i'm trying to count how many times a char occurs in txt file Software Development python | |
I need to make this formula c++ compatible, ive spent quite a while trying to figure this out, looking for some help! WindChill = 35.74 + 0.6215T - 35.75(V^0.16) + 0.4275T(V^0.16) Thanks! Software Development c++ | |
How in java we can add double menus, like file bar and search bar both are different in internet explorer? Thanks in advance. Software Development java | |
I have a matrix A stored in column major order as 1 3 2 4 and I'm using this function to output it in row major order, i.e. 1 2 3 4 which is does correctly. However I'm confused about how it does this, as I thought the loops would … Software Development c++ | |
i am supposed to have 2 void functions and 4 value returning functions (including main) to eventually calculate netsalary from calling the specific functions to calculate tax and insurance and receive and display data.... basically i'm wondering what is my error (compiled in dev and couldn't figure out what was … Software Development c++ | |
Hi, I am using Visual studio 2008 express edition now. It does not have stdafx.h. so I download stdafx.h and three other head files: AFXWIN.h, AFXEXT.h and AFXCMN.h from google. I put these four headfiles into C:\Program Files\Microsoft Visual Studio 9.0\VC\include. And then I wrote a small program just to … Software Development c++ visual-studio | |
Thanks so much for bothering to look at this n.n; I've been kind of confused in this class, mainly because I have no idea what the teacher's saying; her English isn't that great, and she has no in-class coding exercises so we're learning entirely from her crappy powerpoints. I'd have … Software Development gui java java-swing | |
Basically, this is what I'm trying to acheive in its simplest form. [IMG]http://img72.imageshack.us/i/dsgjgsfnhfn.jpg/[/IMG] Does anyone know how to change sin/cos in this way? I just require them to linearly increase/decrease over the set amount of time set on the x axis. In case of the link not working, these are … Software Development c++ | |
Hi there I have a rookie question. I am trying to clean up a long list of if statements for a class in java, I know that in C# you can code #region-->#Endregion. Is there a simple way to do the same thing in Java? THANKS! Jameson' Software Development java | |
hey guys its 1.30 am and I just can't see where the problem here ! the text file contains just brand , model and price, please help ! [CODE] #include<iostream> #include<fstream> using namespace std; struct computer{ char * brand ; char * model; double price; }; void readin(computer * , … Software Development c++ | |
ok so i need to allow the user to enter a number they want or delete that number from an array. Then i need to combine those arrays(union) and then find out which elements are common(intersection). only numbers 0-100 are allowed to be entered. so if an element is in … Software Development c++ | |
Hi, I'm attempting to rename .tql files within a directory tree to .sql. I'm currently trying to use this in windows command line: [code] for /R %f in (*.*) do REN *.tql *.sql [/code] this for some reason i can't work out, it is not recursively going down the directory … Software Development | |
Hello to every one, I am writing a simple web browser on c# 2008 express edition using WPF. It is working fine with www websites and display all content correctly. But if I want to open some local webpage - for instance "file://C:1/1.htm", it is save the webpage instead of … Software Development c c# c++ web-browser | |
Hi all, I have a VS2008 winform application that connects to an Access 2007 database. However, I have been given the task of converting it so that it connects to SQL Server 2005 instead. (I've already migrated the data + database over without too many problems). The question is... is … Software Development dataset microsoft-access sql | |
using this code.stored procedure [code=text] @_Empno nvarchar(8),@_Surname nvarchar(50), @_Firstname nvarchar(50), @_Middlenamenvarchar(50),@_PermanentAdd nvarchar(Max), @_PresentAdd nvarchar(Max), @_Identity ouput int AS SET NOCOUNT ON; INSERT INTO TblEmpPersonal ( Empno, Surname, Firstname, Middlename, PermanentAdd) values(INSERT INTO TblEmpPersonal ( @_Empno, @_Surname, @_Firstname, @_Middlename, @_PermanentAdd) set @_Identity = (Select cast(scope_identity() as int) as empID) [/code] here … Software Development | |
Hello, I am very new to C but need to use it to resolve a problem. I have a variable called "W12". All I want to do is increment W12 to W13, W14 etc and then use it later in my code (I am using QA Load to load test … Software Development c | |
I am going to write a game with QT but i dont know how to start. Give me a tutorial for QT please. | |
If I click on the red X on the upper right hand portion of the window, I am prompted to save an unsaved changes before the app closes. If I call the following code when I click a button on the screen then the entire app shuts down with no … Software Development | |
Hi I want to enter a coding which should find farzana though i type far or zana in the txtsearch.Text. if txtsearch.Text = far then it should display a record existing with farzan or farhan or any other record having far in the record. can some body please help me … Software Development visual-basic | |
Hi, I've made a class whose member is a reference to a dynamically created object. How should I code a destructor? Software Development c++ | |
May I know use of Method returning a pointer in C++, please? Thanks. | |
hi what is the difference between : [CODE]main(){}[/CODE] [CODE]void main(){}[/CODE] [CODE]int main(){}[/CODE] [CODE]int main(void){}[/CODE] with my best wishes,, Software Development c++ | |
hi is it possible to limit the lenght of a JtextField? thanks Software Development java | |
How to convert binary numbers to decimal numbers and decimal numbers to binary numbers? help!!!!!! Software Development c++ | |
It might be a basic question, but bear with me as google didnt help. I want to create awrapper for cmd.exe that is more comfortable in terms of user interface (I enjoy a lot Konsole in *nix). Right now I have no Idea how to hook to cmd.exe and get … Software Development c++ shell-scripting user-interface | |
im new to java ..im learning myself.. i want the source code for 12hr to24hr conversion of time.. ie if i give input 1pm then my program should gives this in 24hr version as 13hr..... i hope u pepole will help me.... Regards kavitha Software Development java | |
Hi. I've made a record on a table which would be used as a comparison to other records in the table. for example.. table: recordID 100001,Company Name recordDI 999999,Company Name i want to compare record 1000001's Company Name with record 9999999's Company name. How do I do that? thanks! Software Development microsoft-access sql visual-basic |
The End.