132,726 Archived Topics
Remove Filter ![]() | |
Is it possible to set 4 80x86 processors up each of the registers EAX, EBX, ECX, EDX storing 32 bits of a 256 bit variable? Software Development assembly | |
I want to know a small c code to generate random numbers.It could be within a certain range. I want to know if rand() function will generate a random number Software Development c | |
Hello, I am having a problem to call a function I am posting the code... Can anyone help how we can solve the problem... [CODE]int AES(string path1, string path2) { ifstream myfile1 (path1, ios::binary);// error ofstream myfile3 (path2, ios::binary);//error } int main() { AES( "c:/plaintext.txt" , "c:/cipheretxt.txt" ); return 0; … | |
i m working on a small application its main function is to create a album and then add photos in the album. i m using tree view for creating album and photos i m using tree root as album and nodes as photos. i have to also show photos when … Software Development file-stream vb.net windows-server | |
How to Convert Binary String of Length 1024 to its Respective Decimal Number. for example 101 of length 3 and the respective Decimal Number is 5 10111 of length 5 and the respective Decimal Number is 23 like this .. i have a binary number of length upto 1024 ... … Software Development c | |
hello Can anybody tell me how to Write a C program to print "Hello World" with out using ';' Software Development c | |
Greetings, I have this date string that is given to me from somelses code 20080326 and I want to convert it to be MMddYYYY and I get this error: Caught Exception: ValueError:time data did not match format: data=20080326 fmt=%m%d%Y File "/home/gateway/scripts/python/py-allston.egg/main_template.py", line 91, in decorated_main File "db.py", line 24, in … Software Development python | |
Hello everyone, I need to write code such that: .you can select number of players(2,3or4) and put that number in array.. .display message if correct number not entered. .then each player must be able to choose their color(red, blue, yellow,green) .two players cannot be assigned the same colour This is … Software Development c++ | |
Hi, When I am trying to return a QString from a method I am getting linker error. My code is like: extern "C"{ _declspec QString _stdcall function1(char* name); } I am using MSVC 6.0 compiler. Could any body help me? (NOte: If I remove _stdcall its working fine) Thanks in … Software Development c++ | |
Hi I am doing programming with c++ and I want to save an exe file from server side to client side through c++.Client and server both are in LAN and server has all access of client machine.can any buddy help me to solve this problem? I want to use c++ … Software Development c++ client-server | |
[code]#include <iostream> #include <time.h> #include <fstream> #define MAXSIZE 400000 #include <cstring> using namespace std; class Students { public: string firstName; string lastName; string social; double gpa; Students() { firstName = "Adam"; lastName = "Wilson"; social = "000-00-0000"; gpa = 0.00; } Students(string newSocial, string newFirst, string newLast, double newGPA) { … Software Development c++ | |
hi i wrote this program... it compiles with out any errors.. but when i try to run it in G++ compiller it gives the error "Segmentation Fault (core dump)"... i did a debug on visual c++ and it breaks at line 32 **which is marked below. what the program does … Software Development c++ | |
i am developing a project where i need to track processes that are running on windows. if the process is internet explorer i need to check which url is open. how can i do it using c# Software Development | |
Hi all! I've looked around but to no avail... Is there any builders or apps I can download to create installers for applications written in MS Visual C#? The only option I can find in it is the 'publish' option, but I am looking for some more flexibility. Any help … | |
Hello, C newbie here... below is a driver for a pretty simple function which is supposed to read in n chars from input and store in a char array. [CODE=C]#include <stdio.h> #define SIZE 81 void get_str (char * array, int n) ; int main (void) { char instr [SIZE] ; … | |
hi guys...i just want to get some idea....I read in a book that you could make a tetris game is C++ using pointers...can someone please help me understand how to do it or the concept behind it??? thanks im just curious...^_^ Software Development c++ | |
Hi, I m trying to scroll the JLabel by adding JLabel to Jscrollpane,I can see the scrollbar,but I can't scroll as well as I found JLabel's are misplaced.Can anyone please help me to solve this. The following is the code, [code=java]class outerWindow extends JFrame implements KeyListener,ActionListener { Container c = … Software Development java | |
how can i connect crystal report 10 to vb6.0? is it possible? i really need to know how,,, thanks in advance! Software Development visual-basic | |
Hello , I am new to .net(C#) programing. I need some help in my coding , from experts. I have the following Xml file, Ex : <propertybag name="test" type="a" flags="0"> <property name="help" type="String" flags="0" /> <property name="path" type="String" flags="0">/[B]abc[/B]</property> <propertyname="url"type="String"flags="0">/[B]abc1/Samlple.xml[/B]</property> <property name="icon" type="String" flags="0" /> </propertybag> Here i want to … | |
Hello Everybody, If I'm a Java Newbie I am even more hopeless in VB... I'm using the Trial version of VB 8. I need to find out why am I getting an InvalidCastException on the line in red... I tried taking the .Text out but then it won't recognize it. … Software Development visual-basic | |
im trying to make a markbook program using j#. Where students insert their name, first name and last name, then their mark for class. i also want it to be able to make a class average for all the marks. i want to know how to be able to make … Software Development java | |
Hi, I need help writing a function that determines if a number is prime. It has to print all the prime numbers between 1 and 10000 this is what i have...where i put a " [U] */* [/U] " is where i need your help..... [code]#include<iostream> using std::cout; using std::endl; … Software Development c++ | |
Is there anything in C# that does the same function as strtok in C++. For example if I had the following C++ program how would it be written in C#? [code] // crt_strtok.c /* In this program, a loop uses strtok * to print all the tokens (separated by commas … Software Development c# | |
hi im a very fresh n new user of this field... wanna know how to simulate different type of possilbilities of combinmation of number from a set of numbers and characters example.. given that to create all comnination that can be formed from the set ABC123 like combination ...? thanks … Software Development c | |
hello, ive created a vb application linking to Access 2003 and i want to add for example [B]20/03/2008 + 120days[/B] but i want it to appear in date format ive looked on web and in books but cant find any information, so if anyones got any information or code i … Software Development vb.net | |
Okay, so I am creating a password storage system. I have everything but a few last functions. I need to be able to search for different sites and view all sites in a choicebox. for editting. I've tried a few different things but I just can't get it. the first … Software Development api encryption python storage xml | |
Hi all, I would like to ask some questions. One is I am facing file missing problem after removing the VB installer. Eg: 'COMCT232.OCX', 'MSCOMCT2.OCX' OR 'MSSTDFMT.DLL'. I don't know how to solve that problem. When I run exe File, it will show a message like above file aren't registered. … Software Development file-system visual-basic | |
Hello! I'm fairly new to computer science, and I'm working on a program that holds a database in a vector. The data type for the vector though is defined as a class. My header file has this in it: [CODE]class problem { private: string name; //Name of person with the … Software Development c++ data-science | |
Hi all, I'm trying to figure out how I can call the function estimate from the main. It takes as input: [code=c] float data[], int n, int m; [/code] and should output the float *xms and the float array float d[]: [code=c] float *xms, float d[] [/code] I don't know … Software Development c | |
Hey all. I'm new to the community and I have found it very useful in the past. I have a problem that I cannot find a solution to: Here is the question As a system administrator, your task is to write a computer program for the CompanyINFR1100 to manage its … Software Development c++ data-structure | |
I am undergoing a school project, which is a projectile calculator and graphing. Now I do not want any code or tips or anything as I think I am going well however one issue I am unable to resolve is how to generate a graph. I have spent an hour … Software Development python | |
I have to write a programme using loop struture to calculate the following formula r=1/x+1/2x+1/3x+......+1/nx . The user can input any interger for n and nonzero for x . Software Development c++ | |
Hi, I want to append each line in a file with string "foo foo" if number of charcters in the line are 4000. There can be n number of lines and this scenario applies to all lines. .. any takes? i want shell to do it. -Seemit Software Development shell-scripting | |
Hello, thank you for taking a look at this thread. I've been using the C++ language for almost two years now, although my knowledge doesn't amount to much due to the fact that my teacher is a complete moron, hence the reason I'm here, trying to strike out on my … Software Development c++ storage web-server | |
Can we do like this in enums enum myStringEnum { enumItem1 = "value 1", enumItem2 = "value 2", etc } i.e.spaces in the string value, I know we can assign int value to enum but I m not sure whether string values (with spaces) can be assigned to enums. If … Software Development c# | |
I have a dijkstra algorithm running and i would like to see it (next to the picture for which it is calculating). It would be cool if it can be done step by step: for the first step the block containing the used commands should have the color red; next … Software Development algorithm | |
Hi folks my question is how can I determine the size of an array in runtime dynamically. Like in VB we do this :- [CODE] Dim x() as Integer,i as Integer i=5 Redim Preserve x(i) [/CODE] so what is the equivalent syntax for this in C#? Software Development | |
Hi, I am using Northwind database and I am trying to delete the Products information from the Products table using SQL. However, when I tried to do that, it says that it can not be deleted because it is related to an another table. My problem is, when I deleted … Software Development vb.net | |
I dunno what I did wrong with my program but I am getting a bunch of errors is converting letter to number...could anyone take a look.... [code=c++] #include <iostream> #include <string> using namespace std; string Get_Name_and_Num_Classes(string name, int classes); double Calculate_GPA(char grade, int count); void Get_Letter_Grade(char grade); double Convert_Let_to_Num(); void … Software Development c++ | |
i am using monthview control in my form to display date in textboxes .. it's date format is mm/dd/yyyy , but i need to change it to dd/mm/yyyy.. is it possible in any other way than using "format" ?? coz when i use "format" it works only for 1 textbox, … Software Development visual-basic | |
I have created an application in VS 2005 pulling reports created in Crystal Reports XI Release 2. My problem is I have a couple of reports that have linked subreports on them. Does anyone know how to pass a parameter value to a subreport in .NET? I have the following … Software Development vb.net | |
Hello All I am writing a program, for homework, that would rank 3 runners in 1st, 2nd and 3rd places based on their finish times. I need to bubble sort the names, but it fails. Here is what I have: [code] //Constants Used: const int iLength = 21; //20 Chars … Software Development c++ | |
Hi all, I am new here and to programming and i am currently trying to build an interactive form for my works. I have my form which at the moment saves text from textbox1 to a .txt file and also i have succeeded in being able to read this back … Software Development file-stream | |
Hi, I am in the process of making an application which I am hoping will become a GUI for QStat (a DOS based application which retrieves the current status of an online game server). The problem I have is this: I can run the QStat application as normal (including the … Software Development gui visual-basic | |
I need to extract the currently login user from remote system. This is an intra-net project. All users use win-OS. Its also possible to find the user name from net bios. This is table where all name registered to that particular machine is shown. I would like to extract the … | |
Hi friends, I have written a function which inverts a dictionary. The code is as follows: [code=python] def histogram(s): d={} for c in s: #print c, d.get(c,0) d[c]=d.get(c,0)+1 return d def invert_dict(d): inv={} for key in d: val=d[key] if val not in inv: inv[val]=[key] else : inv[val].append(key) return inv hist=histogram('parrot') … Software Development python | |
Hi to all i want appface.dll without period time .if any one have this , please send to me thanks alot Software Development visual-basic | |
I cant seem to figure out whats wrong with this code, I am trying to generate random floating point number numbers with values from 0 to 1 with positive and negative values here is the code [CODE]#include <stdio.h> #include <stdlib.h> void populate(int generations) { int seed, ttt; seed = 456739853; … Software Development c | |
code to display linked list: [CODE]for (Node *cur = head; cur != NULL; cur = cur->next) cout << cur->item << endl;[/CODE] in the header file: [CODE] struct Node { int item; Node *next; }; [/CODE] It will declare a new pointer called cur, set it equal to head, and keep … Software Development c++ linked-list | |
hi, i want to know how to get a text file situated anywhere in my drive and to read it. Software Development c |
The End.