132,726 Archived Topics
Remove Filter ![]() | |
I wonder what this problem is :error C2664: 'mine' : cannot convert parameter 1 from 'int [100][100]' to 'int' 1> There is no context in which this conversion is possible Here is my full program. [CODE]#include <stdio.h> int mine(int ,int,int); int main() { int m,n; int i,j; int u,v; int … Software Development c | |
[CODE]#include <stdio.h> #include <ctype.h> int isPalindrome( char *str, int length ) { if ( length < 1 ) { return 1; /* no more chars to compare, its a palindrome */ } if ( str[0] == str[length-1] ) /* Are the two ends same? */ { return isPalindrome( str+1, length-2 … | |
So i was in a making of my homework where im supposed to write a program to write (output) 2 tables to .txt file 1) given data 2) calculations that were done with that data. heres the code [CODE] /* L3-7. Turime tekstiniame faile studentų apskaitos sąrašą: pavardė, vardas, įstojimo … Software Development c++ | |
Hi there, I've got a little script which is not working nicely for me, hope you can help and find the problem. I have two starting files: traveltimes: contains the lines I need, it's a column file. The lines I need are separated by a line which starts with 11 … Software Development python | |
Hi, Good day. I want to get the attributes of an xml using libxml2 and save it to a stl map in c++? Can someone help me? tnx. | |
Hello, I have a Java homework that I need to extract the data from ASCII Text file. Here is the ASCII text file [url]http://weather.noaa.gov/data/nsd_bbsss.txt[/url] 72;211;KTPA;TAMPA INTERNATIONAL AIRPORT ;FL;United States;4;27-58N;082-32W;27-58-04N;082-31-33W;8;11; 72;212;KCTY;CROSS CITY AIRPORT;FL;United States;4;29-38N;083-06W;29-37-49N;083-06-31W;13;12; 72;213;KAYS;Waycross / Ware County, Ga;GA;United States;4;31-15N;082-24W;31-15N;082-24W;46;46;P 72;214;KTLH;TALLAHASSEE REGIONAL AIRPORT ;FL;United States;4;30-24N;84-21W;30-23-46N;084-21-20W;25;16; 72;215;----;Peachtree City, Ga.;GA;United States;4;33-22N;084-34W;33-22N;084-34W;262;244; I need … Software Development java | |
Hello can someone teach me how to delete the selected item in data grid? please i really need it. thanks. Software Development visual-basic | |
can u help me put codes in the search button pls? here's my program tnx [url]http://www.mediafire.com/?21sprht484fb4qp[/url] Software Development visual-basic | |
Hey guys, I am making A Vending Machine Program and seem to be getting error's when trying to do things outside a class and stops the Program. (Vending machine should keep looping until Quit is typed, and it will display a summary of money and cans left. [CODE] ******SODA MACHINE … Software Development java java-swing | |
I am trying to make a program to add, delete, and print a sorted linked list. I have tried many different things and now I am getting a Segmentation Fault so I was wondering what I am doing wrong? Here is my code so far: [CODE]//ItemType.cxx #include "ItemType.h" ItemType::ItemType() { … Software Development c++ ios linked-list | |
I am trying to find the way to generate bezier curve using de casteljau algorithm for one of my assignment here. I am able to generate bezier curve using normal method but unable to start on generating using the above algorithm. It will be of great help if someone can … | |
Hello All, I am having a problem making my program display and output correctly. When i run my program my count will display but my word will just give me some kind of line. Can you please help me correct this? Thanks Ronnie [CODE] #include <iostream> #include <string> #include <iomanip> … Software Development c++ data-structure display linked-list | |
Is it possible to define a union at creation. ie: [CODE]union Colour { unsigned int i; char c[4]; struct{ char a; char r; char g; char b; }col; }Black(0xFF000000),White(0xFFFFFFFF),Red(0xFFFF0000),Green(0xFF00FF00),Blue(0xFF0000FF)/*etc...*/;[/CODE] Software Development c++ | |
Hey everyone, I need help creating a program that will add and multiply polynomials using linked lists. The polynomials that will be added and multiplied by my program are taken from an input file. This file contains the polynomials in the form: 3 2 5 1 3 0 XXX 2 … Software Development c++ | |
Hi everyone, I'm trying to code a calculator that performs the following operations: +, -, /, *, %, ^, !, L ! factorial = x! L log10= log10(x) and im having trouble running the code because of the last three functions. I will post my code and I hope to … Software Development c++ | |
Write a C++ program using DarkGDK with functions that asks the user for a positive integer no greater than 15. The program should then display a square on the screen using the character “X”. The number entered by the user will be the length of each side of the square. … | |
SO YEH MY problem is its not reading the whole file and inputing it to the stucture.. i believe that the problem lies in the adt.( the last source code on the bottom) in the private adt search function, insert function, and traversal..... ive been wreking my brains out trying … Software Development algorithm c data-structure linked-list seo user-interface | |
hello, I want to use this code1 [CODE]#include <windows.h> #include <tchar.h> #include <stdio.h> TCHAR* envVarStrings[] = { TEXT("OS = %OS%"), TEXT("PATH = %PATH%"), TEXT("HOMEPATH = %HOMEPATH%"), TEXT("TEMP = %TEMP%") }; #define ENV_VAR_STRING_COUNT (sizeof(envVarStrings)/sizeof(TCHAR*)) #define INFO_BUFFER_SIZE 32767 void printError( TCHAR* msg ); void main( ) { DWORD i; TCHAR infoBuf[INFO_BUFFER_SIZE]; DWORD … Software Development c++ | |
Hello first off I appologize if this is posted in the wrong forum and I'm sure if it is a moderator will kindly move it to the correct location. I did try to find a suitable place and this seemed the most logical choice to me, I did also try … Software Development c++ | |
I am having problem with converting and initializing errors. Any help is appreciated. I am a 2 yr Computer Science major, so be gentle. Here is Code: Sorry its long! [CODE]// Kyle Bennett // CS 318 // Paint Throwing Disturbance #include <iostream> #include <iomanip> // set width and decimal #include … Software Development c++ | |
Hi all I created a RDCL in the designer. I would like the User to Determine what is shown in the Report. How can I change the query at runtime? (ex. changing the customer Name) This is the query that I have in the properties SELECT [Date], Address, Customer, Orders … Software Development vb.net | |
The US uses a progressive approach to income taxes. Tax rates for 2011 (for singles) are 10% taxable income from 0 to $8,500 15% over $8,500 to $34,500 25% over $34,500 to $83,600 28% over $83,600 to $174,400 33% over $174,400 to $379,150 35% over $379,150 There are also a … Software Development python | |
Windows API Can the KEYBDINPUT structure in the INPUT structure be used to send a mouse click? I know there is a different structure for the mouse but I would like to use the KEYBDINPUT structure if possible. Software Development api c++ windows-api | |
I have a game client that has a button to allow input and when toggled on it will block input.. Thing is sometimes even when u toggle it off, it still blocks user input.. Other times there is an extremely HUGE delay before it accepts input.. I was thinking if … Software Development api c++ queue windows-api | |
hello, Below is the program written to enter item description, price and date of purchase. finally it is going to give the total amount. here i wanted to write the output of this program to a file created and saved on the desktop .To create a file, i have used … Software Development file-system | |
My teacher showed me something like this with functions but I don't quiet get it. Since, I can't ask him right now...I came here for help. I'm suppose to write a function to display days in a month. This is my first time using functions so all the help I … Software Development c++ | |
Hi, Can you please let me know how I can run two windows form at the beginning of an application which one of them can be something like a "Quick Start" form or "Tip of Day" form and also the main application form which is running at the background and … Software Development | |
Hello everyone at DaniWeb, this is my first post here, so please correct me, if i am wrong in asking this question. Firstly, i had a 10minute search amongst Google, and here at Daniweb. But im not entirely sure what to search for. So my question. i have a Python … | |
I'm a beginner, just starting to take a java class! I'm doing this for homework. When I try to run this, it runs- but when it gets to the question that asks "Which kind- Chocolate Chip or Gingerbread Man?" and I answer, it just skips right to the next question. … Software Development java | |
I want to randomize a range of numbers without "random.shuffle." Instead it would be using "randint(0, n-1)" If I put in 4 into the function it could return [1,3,2,0] or [3,1,0,2]. I know that starting with an empty list and running through with a while list would work. Software Development python | |
[code] BufferedReader reader = new BufferedReader(new FileReader(strPath)); String line; while ((line = reader.readLine()) != null) { out.println(line); } [/code] My textfile is like: Statement1 Statement2 Statement3 the output i get is: Statement1Statement2Statment3 I need the output as it is..same as the text file...i have tried to identify the newline charc … Software Development java | |
Hi there. I am trying to get a selection sort working on assembly language, using the Irvine32.lib. This is my first time taking an assembly language class and I am struggling with this program a lot. Here is the code. [CODE] TITLE MASM Template (main.asm) INCLUDE Irvine32.inc .data array1 DWORD … Software Development assembly | |
i am a computer science student.i have no interest on assembly.just doing it for my course. so can anybody suggest me any good assembly compiler? in my university lab they use Masm. but it is too old and do not show in which line error is and no auto code … Software Development assembly | |
Hello guys. I just have a problem that I think you pros will help me solve real quick.. I was instructed to make a table that will show the inputed miles, yards, feet, and inches this way: Units Value Meters Miles XXX XXX.XX Yards XXX XXX.XX Feet XXX XXX.XX Inches … Software Development c++ | |
Hello, we have to create a football scoreboard in Visual Basic. Purpose: The application calculates the points scored during a football game by one team Requirements: 1. The user clicks the enter score button in an input box object to enter a score after the football team scores 2. Each … Software Development vb.net visual-basic | |
Hello, we have to create a football scoreboard in Visual Basic. Purpose: The application calculates the points scored during a football game by one team Requirements: 1. The user clicks the enter score button in an input box object to enter a score after the football team scores 2. Each … Software Development visual-basic | |
My assignment for python is to create a card game where 2-3 draw 3 random cards in order to try to get a total of 31. If there are three identical cards(ex player has 3 2's). That value is equal to 30. At any point does a player get 31, … Software Development python | |
Dear all programmers I’ve search all over Google and have not found an answer. [B]My question is.........[/B] I have two DBF tables called product and ullage. The user enters data from products table into ullage, by searching for product id and adds their count into the ullage table. This part … | |
i hv 2 write a code for queue fifo rule for patients visiting doctor's clinic.. can any1 atleast tel me the algo? i'll implement it by myself... | |
so this is the assignment Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) = a, where a b, then a and b are an amicable pair and each of a and … Software Development java programming-construct | |
Hy , I have a little/big problem : I am a student and i live in a campus where i need to use a proxy and port to connect to internet. The app i made is a management system for a store ... and it is local. I used MySql … Software Development java mysql router-proxy-firewall | |
hi everyone i have a program about the smallest and largest values that user input and the program decide which is the largest which is the smallest ,so i solved it and it worked fine but it's giving me the 2 values are the same the largest same as the … Software Development java | |
I've tried this in the past, but never got it to work. How would I set specific keys to run functions, whether I am on the current form or not? Thanks! | |
i have error: illegal start of expression can you help me ?? [CODE] public void AddBefor(int befor,int a) { if(head!=null) { if(head.value==befor) { IntDLLNode t=new IntDLLNode(a); t.next=head; head.preve=t; t.preve=null; head=t; } else { IntDLLNode t; for(t=head;t!=null;&& t.value!=befor;t=t.next); if(t!=null) { IntDLLNode t1=new IntDLLNode(a); t1.next=t; t1.preve=t.preve; t.preve=t; t.preve.next=t; } } } } … Software Development java | |
lets say i have a grid----->grid[10][10] i want to scan the grid for a char 's' what should I do should I... do a enhanced for loop and how can any show a example Software Development java | |
In a language named vJass I can do this: [CODE] function Initialization takes nothing returns nothing string array s call read(s[1]) call read(s[2]) call print(s[1] + " " + s[2]) endfunction[/CODE] It takes two strings from user and prints them. I am totally confused how I can do this in … Software Development c | |
I would like to have a loop that creates a JFrame, sets it visible and waits until that JFrame is disposed of before creating another. Is this possible? A solution would be greatly appreciated I can't seem to figure this one out. ex: [CODE]for(int i=0; i<5; i++){ JFrame foo = … Software Development java | |
IS this Correct or Please help me to find error, i cant solve that how to see record on my form Dim Slec As New SqlDataAdapter Slec.SelectCommand = New SqlCommand("SELECT Name'=" & txtname.Text & "', CNIC#='" & txtcnic.Text & "', F_Name='" & txtfname.Text & "', College='" & txtdept.Text & "', … | |
I am trying to connect to a sql database and read from a table to determine if a username is valid upon a user entering in theirs. To just give you a background of the program: 1. The user needs to enter in their username and ID number. I already … |
The End.