132,726 Archived Topics
Remove Filter ![]() | |
Hello, I have two very simple questions. 1. I want to use fgets(text, MAX_WORDS, stdin) to read in a string file, where my array is text[MAX_WORDS]. But is there a way to make stdin a pointer instead to a 2nd array which can be a buffer? 2.Whats the difference between … Software Development c | |
Hiya, I'm pretty new to C++ (using bloodshed dev). I am trying to display the path of a projectile (tennis ball) on a graph. I can do all of the calculations and output to a text file at each point however I can't find anything on the internet to explain … | |
I've looked all over the internet for a suitable solution to my problem, and I just can't fine a simple and effective one; so I hope I can get some help here! First off I am programming a hotel booking system for my college computing project. This consists of a … Software Development microsoft-access sql vb.net | |
Ok so what i'm trying to do is grab some strings from a list box and put them in an array so i can list them in a message box each index of the array on a new line so it comes up like this you ordered : arrayindex1 arrayindex2 … Software Development vb.net visual-basic | |
Hi, me Rahul Gandhi. I am a student have to submit project of 150 marks. I am pursuing my graduation from corrspondent college. Please help to make a project on VB. I don't know how to start and what should be the topic of the project. Software Development visual-basic | |
I need help ... again. I'm having so much problem in here, on how to multiply column 0 to column to which is. The column 0 is the quantity, and the column 2 is the price. I have a pizza hut Ordering system. Here is my problem. After i click … | |
OK, so I'm making a video game and I have a simple inventory code. This is the inventory class: [code] public class Inventory { static int slot[] = new int[17]; static boolean[] taken = new boolean[17]; static int item[] = new int[17]; static int count[] = new int[17]; public static … Software Development java | |
I made myself a project which is to make a virtual inventory but I have been having difficulty with pickling the variable: inventory. Could someone please insert the strip of code in order to save the variable in a seperate file and make it able to import it. [CODE]import pickle … Software Development python | |
![]() | Hi all, I've been stuck on this problem for a couple days and not really sure if there's a way to do it but... I'm trying to dynamically name arrays for a game. So if someone types in the console 2 people are playing I want two arrays to be … Software Development ![]() |
i have this code, i need to have [B]for()[/B] inside this boolean method, but it shows an error that return method is missing. how can i solve it? [CODE] public static boolean findPrevious(int dataIdx, int featIdx, String data, String[][] array){ for(int i=0; i<dataIdx; i++) { if(array[i][featIdx] == data) return false; … Software Development java | |
| |
Hello guyz, im new in assembly. I have this exercise using MIPS. The idea is to write a fuction that finds the bounding box of shapes in a bitmap. "0s" are the background and "1s" the foreground. I have Runtime exception at 0x00400254: fetch address not aligned on word boundary … | |
I've only just began learning assembly this semester and am having a problem with my assignment. I need to write a code to display 0-9 and then A-Z on a 5x7 LED matrix on a EDS-8086 board via BGC-8088. The problem I'm having is that the Data segment (DS) overrides … Software Development assembly | |
I've looked around online a bit and have a few books, but none of the resources I've read seem to explain what an OPCODE is really for. Could someone provide some details? Thanks, Runicode Software Development assembly | |
Ok so I am writing code to a contacts database and as i add new info to the table it is not committing to the table. I have attached my program... idk if you will be able to open it. But I have 2 buttons one adds a new row … Software Development vb.net | |
I'm stuck here ! I hava a txt file that contains only integers , I opened the file and read its contents into an array of characters. [CODE] li $v0, 13 # system call for open file la $a0, file # output file name li $a1, 0 # Open for … Software Development assembly | |
Hello guys it my first time trying c# i am trying to solve this problem and this is what i got so far i dont know where to locate the auto implementation properties to which class i a little bit confused appreciate any help the question is add below [CODE]using … Software Development | |
hi everyone! this is my encryption routine (using standard call) in x86 Assembler __ASM{ encrypt: push ebp mov ebp,esp mov eax, [ebp+8] mov ecx, [ebp+12] push eax and eax,0xAA not al mov edx,eax pop eax and eax,0x55 xor ecx,edx xor ecx,eax rol cl,1 rol cl,1 mov eax,ecx sub al,0x20 pop … Software Development assembly c++ encryption | |
Hi. When I was looking at the header files of c library such as malloc.h, I saw that it defines some functions inside the struct (Function Pointer) and other functions outside, so my question is, why sometimes people defining function inside the struct and sometimes outside? Thanks -- Mark | |
I wanted to pause the execution of my program by requiring the input of a keystoke (any key). The idea was to put a message on a label something like "Change a switch to --- and then key any key to continue." I expected the program to wait until any … Software Development | |
People, i have downloaded a game cod from the internet and it wont run.. it always gives a linker error and i don't know what to do. i am new to allegro game development and i really need help. Software Development c++ | |
Hello, I'm looking for an easy way to wait for a keypress in a non-gui application. Example: I press A, program says "You pressed A" I AM NOT LOOKING FOR STRINGS AND ENTER! THIS NEEDS TO WORK FOR THE ARROW KEYS! | |
Hey, i have written immanence java program and now i have been asked to create sequence diagram for it. i am really unfamiliar with uml therefore i was wondering are there any good reverse engineering programs that would create sequence diagrams for me? p.s project has been written using netbeans … Software Development engineering java java-netbeans | |
Hi, It's about a year that I have been coding on Java but I still have basic problems working with threads. My main concern is that I can't understand the logic they obey in their behaviour. I know that they are processes which run independently but I don't know how … Software Development java | |
Dear all, Can anyone tell me how can I call Java function to VB.net window application? Regards | |
I need help i'm out of ideas, i don't know how to add numbers in a currency format. need help please. Thank you in advance. Software Development vb.net | |
hi all, i have an applet code here..i wanna do database operations later on..but i m stuck to this basic applet function..have a look [CODE]/* * @(#)Appletsamp.java 1.0 11/04/09 * * You can modify the template of this file in the * directory ..\JCreator\Templates\Template_2\Project_Name.java * * You can also create … Software Development java | |
Is there any methods that in java can make or prevent its window frames from being moved or being dragged, like those in windows 7 installations. post it guys if any and it will help others too! thanx in advance. Software Development java | |
I am trying to finish this palindrome program and the only output I get is output cannot be found. Can anyone show me what I am doing wrong. I will put the instructions in if needed for a guide to show what it needs to do... [CODE] #include <windows.h> #include … | |
Hey, everyone, as you can see, first post. I'm just stumped. I've tried everything I can think of to [COLOR="Red"]highlight certain keywords as the user types in a non-CPU intensive manner in JTextPane with a StyledDocument[/COLOR]. I'm almost sure there is a logical way that I cannot see, but here … Software Development java | |
I am trying to write pop() function in a file but I am really stuck. It looks like it is asking to delete the top element of the stack and returns a Bookmark pointer. Please, help!! I am showing the header which explains what needs to be done. [CODE]#include "Bookmark.h" … Software Development c++ | |
C:\Users\Kostya\Desktop\c++\MacroWriter\ifexists.cpp|27|error: ambiguous overload for 'operator=' in '((farm*)this)->farm::sendeachbase[i] = 0'| Ok so I am making a class for my program and I want to initialize some of its variables to 0's. I haven't done anything with classes for a while so I am not good with this stuff. This is my … Software Development c++ | |
I'm new to [B]Qt[/B]. What resources do you recommend for learning Qt? Thanks. | |
hey can any one tell me what's the advantages of c#.............when compared to all other languages Software Development | |
Hi, I have 2 images stored in the variables [ICODE]Image img_arrowl; Image img_arrowr;[/ICODE] and now I need a function or method to set the opacity of these two images. So the syntax I'm after would be something like the following: [CODE] img_arrowl = set_imgopacity(img_arrowl,0.75); img_arrowr = set_imgopacity(img_arrowr,0.75); [/CODE] The only … | |
hey i'm planning to display all the datas that is in the database as shown in picture [B]output.bmp[/B]........but i can't print the whole thing in the database, instead i could print only the first row in the database as shown in picture [B]database.bmp[/B]..........can anyone tell me how to print the … Software Development open-source | |
Hello, I have date saved as varchar (Day,DD,MM,YYYY)in my database(DB) and it is displaying on my DB binded datagrid. I have binded it through VS.NET 2008. Is there any way I can get the sorting of my datagrid from date? Please tell me the possible solutions for it. Thanks Adnan Software Development | |
hi, for a 'total cost' field in sql i used the data type 'money'.. in c# what data type should i use to match that of the sql?? decimal or float?? thanks Software Development | |
I have to make alikation which is to measure the response time of site. Application can not be blocked during the response / request process? Help please! Software Development | |
When writing this: [CODE] #include <iostream> #include <iomanip> using namespace std; int main() { float number = 2.12345; cout <<fixed <<setprecision(3) <<number; return 0; } [/CODE] I get 2.123 If I then cout another float variable that I want all decimal numbers at, and not setprecision(3)...... How do I do … | |
I got a look one huge Java code suggestion from one [URL="http://www.daniweb.com/software-development/python/threads/86608/1525822#post1525822"]newbie high jacker of old thread[/URL], so I had to write this code. [url]http://oeis.org/A001235[/url] (for values with [B]minimum [/B]2 ways, first difference is 87539319 with three ways. You can of course change the if part of the print to … Software Development python | |
I was wondering how I could create a java application program which allows sending free sms to any network subscribers without the use of any hardware component (i.e. GSM modem). Is it possible? What are the things should I consider and how does the logic work? Can anybody tell me … Software Development java | |
Hi all, I have some images path in database. So i need to get those images in a slide show like this [URL="http://www.trans4mind.com/personal_development/JavaScript/imageSlideShow.htm"]http://www.trans4mind.com/personal_development/JavaScript/imageSlideShow.htm[/URL] But in this link only 4 images were there. But for me i need images from database. so how can we do that can anyone help me.. … Software Development | |
Hello All, Can any one tell me how we bind data to a ComboBox from a dataset? Thanks for your precious help Software Development dataset | |
hi, i have added a new tool to the toolbox in visual studio by adding an existing solution to my solution and automatically a new tool was added to the toolbox. now, how can i make it portable so that when i open my solution on another pc, it will … Software Development visual-studio | |
I want to make to security question just like the one attached in one of my project........can anyone tell me how to do that.........here i'm planning to save the answer in sql server...........is it possible to do that............ Software Development | |
Hi everyone, I have an assignment where, given a list of points in 1 dimension (that is, they are points (x,0)), to find the closest pair recursively. I've been moving along pretty well and I think I have a sound algorithm in place, but I hit a roadblock. My algorithm … | |
Based on my header file. How would I write a complete definition of the function temp (). [CODE]const int MaxDays = 31; // Maximum number of days in a month const int MaxTimes = 5; // Maximum number of times temperature is measured in // a day plus one column … Software Development c++ | |
Note: vector < vector < string > > addresses; I am having a problem with this line of code: addresses.push_back(addy.c_str); I am trying to push back an email address in the i location of the 2-d vector. I have tried: addresses.push_back[(addy.c_str)]; and addresses.push_back[i][(addy.c_str)]; but nothing is working >:/ I appreciate … Software Development c++ |
The End.