132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MasterHacker110

I am writing a game. The game will be controlled by the cmd, it is like a hacking game. You type: run exploit545.exploit www.tktktk.switchnet and it will exploit that exploit at the targeted computer (url). My problem is i cant seem to find a way to make the program read …

Software Development c++
Member Avatar for MasterHacker110
0
152
Member Avatar for blake81

The major issue I am having right now is my client class cannot run/compile, I tried different methods to fix it from calling it from overload constructor and setScores but neither work. Scoresclient.java:16: error: cannot find symbol myScores.setScores(); ^ symbol: method setScores() location: variable myScores of type Scanner Scoresclient.java:18: error: …

Software Development java
Member Avatar for NormR1
0
175
Member Avatar for LestTurk

I want to write the code in machine code(binary)then convert it to gates, then to assembly. How can I start?

Software Development assembly microsoft
Member Avatar for jiangshi
0
298
Member Avatar for caltech

okay so here's my code but i knwo there's just something so wrong with the second/youngest one. the first/oldest part works though. int oldest = 0; // Determine and print oldest employee(s): for (int i=0; i<recordlist.size(); i++) { if (recordlist[i].age > oldest){ oldest = recordlist[i].age; } } cout << "Oldest …

Software Development c++
Member Avatar for NathanOliver
0
948
Member Avatar for Arjun_Sarankulu

I am developing Window Application in C#. In which i need to Send email using Outlook And to read the unread mails from Outlook and to get the undelivered mails from Outlook. I am able to send and read the unread mails from Outlook. But not able to read the …

Software Development
Member Avatar for jijo cleetus
0
250
Member Avatar for senbaris

hi all, i made a proejct that runs sql command to datagridview and than export it to csv file, everything going fine but i got line break problem. Here my export code; im filePath As String = "C:\FULLWork\csv\dbslimit.csv" Dim delimiter As String = ";" Dim sb As New StringBuilder() For …

Software Development vb.net
Member Avatar for thines01
0
391
Member Avatar for tendaishava

hello i am tryna extract information from a chinese website but i dont know which keyword to use to extract certain information. the html code snippet is shown below .this is a result from running a query on c++ books i want to get the following information book title C++反汇编与逆向分析技术揭秘(《程序员》杂志“2011年度十大最具技术影响力图书”,好评如潮) …

Software Development c#
Member Avatar for thines01
0
343
Member Avatar for Tuz

I have this two classes and its giving me an error when i compile it that cannot access BaseClass. package pckage1; class BaseClass { public int x = 10; private int y = 10; protected int z = 10; int a = 10; //Implicit Default Access Modifier public int getX() …

Software Development java
Member Avatar for NormR1
0
92
Member Avatar for hwoarang69

this works fine but i was wondering if there a way to recreate my insert function without returning any thing. for ex right now in my insert function iam return a function. but i want to recreate it so that its void insert(char *li) here is my code #include <stdio.h> …

Software Development c
Member Avatar for DeanMSands3
0
124
Member Avatar for minghags

Hello! I just want to ask you guys if anyone can help me reedit my program from BFS to DFS. I know how BFS works but i can't figure it out how to write the sintax. So i would please ask you guys if you could help me out. Heres …

Software Development c c# c++ queue
Member Avatar for Labdabeta
0
451
Member Avatar for iXmerof

Hi, i'm totally green with assembly language. Now I need to learn it, I always wanted before to to learn this language for my own, but time, never had enough of time. Now I need to learn it from zero - to pass the laboratory at university. Mainly I'm reffering …

Software Development assembly
Member Avatar for DJSAN10
0
222
Member Avatar for Yozuru

So I have a programming lab that we did in class for a few months but I am having major difficulity on it. These are the directions: > Specifications for Calculate grades using loops 1. Create pseudo code for your program first, to be handed in. 2. Make the program …

Software Development c++ java
Member Avatar for FelineHazard
0
1K
Member Avatar for Andy90

Hi, I have two project solutions! Project1 and Project2. I want to merge these two, so there will be single solution Project1? I tried my best but unable to do so! How to do it without affecting my program, resources, assemblies etc.? P.S : I m using VS2010

Software Development
Member Avatar for thines01
0
101
Member Avatar for Kamina00

Hello I am learning templates and at the moment I have created a templated QuickSort function. It's rather short and self explanatory. However during the call to the QuickSort Driver function I get a No matching call error. I have detailed the error message in full at the bottom of …

Software Development c++ ide
Member Avatar for Kamina00
0
262
Member Avatar for jonajonlee

So in my class we are learning about strings. In this program, the goal is to reformat the text in a data file. sample data file: Here's a "TEST" file. (DateD 5 April, 2012) Will this #*PrOGRAM+=@ that includes !user-defined?!?> FUNCTIONS really work? Only time will tell............. My program needs …

Software Development c++
Member Avatar for deceptikon
0
222
Member Avatar for dmoneyrpyt

# Can someone help me with this program by fixing it I should finish it before tomarrow and I don't know where I went wrong# #include<stdio.h> //header file #include<conio.h> //header file #include<stdlib.h> //header file #include<time.h> //header file #include<math.h> //header file #define PI 3.14159 //header file indicating that pie is equal …

Software Development c++ matrix-multiplication
Member Avatar for DJSAN10
0
233
Member Avatar for Bugaya

I am trying to use JQuery Full Calendar along with Spring MVC. I have made a demo like [that][1]. Target: I need to send the UPDATED calendar's data,after I enter my events, to the controller to handle it. Issue: I've succeded to re-send the calendar I've inistialzed to the controller. …

Software Development java javascript javascript-jquery json
Member Avatar for Bugaya
0
203
Member Avatar for Gus_19

I have a textbox in my form where the individual will enter the date (not necessarily todays date). How can I set a format so if the individual enters 040912, it will change to 04/09/12?

Software Development vb.net
Member Avatar for bhagawatshinde
0
3K
Member Avatar for grh1107

I'm trying to create a class which finds the sum of multiples for a given base I have the code written with out a class im just having trouble converting it into a class my total function isnt retrieving the data from the object maybe? /* If we list all …

Software Development c++ mathematics
Member Avatar for Banfa
0
183
Member Avatar for ZainabJuma

hello for everybody i have ID number which is string and i went to do query for maximam ID but it was not come pleas help me

Software Development vb.net
Member Avatar for poojavb
0
123
Member Avatar for mags11

I have a program that uses a Payroll class that uses the following arrays as fields: employeeID.- an array of seven integers to hold employee identification numbers. The array should be initialized with the following numbers: 5658845 4520125 7895122 8777541 8451277 1302850 7580489 hours.- An array of seven integers to …

Software Development java
Member Avatar for stultuske
0
1K
Member Avatar for rob211

Hi! How can I implement the folowing: ABC = BCA - true BAC = CAB - true DAB = BCA - false if (((1 == 1) && (2 == 2) && (3==3)) || ((1==2)&&(2==1)&&(3==3)) || ..... ) return true; That cannot be the fastest way, right?? And how can I …

Software Development java
Member Avatar for stultuske
0
130
Member Avatar for shandoosheri

Hi I have a folder containing about 60 files and I need to copy each 3 files to a separate folder Thank you

Software Development
Member Avatar for shandoosheri
0
210
Member Avatar for wildplace

int main(){ fstream in; in.open ("myFile.dat", fstream::in | fstream::out | fstream::app); char* temp = new char [40]; string aString; in.write("123\n",4); getline(in, aString); //in.read(temp, 4); cout<<aString<<endl; } i want to either display the text already in myFile.dat or 123 if it was a empty file i tested with a emtpy file, …

Software Development c++
Member Avatar for wildplace
0
76
Member Avatar for ChaseRLewis

So in my scripting project I mentioned yesterday I was thinking about how to implement arrays. That got me to thinking how does c++ get arrays and inherited classes to interoperate and found out some wierd things class Y { public: int A; Y() { A = 0; } }; …

Software Development c++
Member Avatar for ChaseRLewis
0
154
Member Avatar for hwoarang69

trying to create a insert method thats takes a char *name and int age. after than iam trying to insert in linked list. its seem to be working fine but if i have a linked lets say [1 2 3 4 5] and if i try to insert(2). i shoudl …

Software Development c linked-list
Member Avatar for zeroliken
0
180
Member Avatar for justindill

package now; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class Now extends JFrame { JLabel FirstName; JTextField jtfFirstName; JLabel LastName; JTextField jtfLastName; JLabel Age; JTextField jtfAge; public Now(){ //Set FlowLayout setLayout(new FlowLayout(FlowLayout.LEFT, 10, 20)); //Add labels and text fields to the frame add (new JLabel("First Name")); add (new …

Software Development java java-swing
Member Avatar for justindill
0
3K
Member Avatar for xEffrego

I get a compile error on the line while (iteration < MAX_ITERATION && sqXY <=4) { The error is: expected ')' before ';' token I am pretty sure it used to work before, this problem just popped up randomly just then. Can't the while thing take 2 expressions or can't …

Software Development c
Member Avatar for xEffrego
0
2K
Member Avatar for dmoneyrpyt

# I HAVE DONE ABOUT EVERY THING AND I CANNOT SEEM TO SEE WHERE I WENT WRONG CAN SOMEONE PLEASE TELL ME WHAT I DID WRONG I NEED TO DONE THIS BY TOMARROW ASAP!!!!!!# #include<stdio.h> //header file #include<conio.h> //header file #include<stdlib.h> //header file #include<time.h> //header file #include<math.h> //header file #define …

Software Development c++ matrix-multiplication
Member Avatar for zeroliken
0
255
Member Avatar for dmoneyrpyt

# I have tried about a million times to fix the error but still no result and I need to fix this before tomarrow can someone help by showing me what to do the compiler shows that the error is at the curly braces after void triangle(int a, int b, …

Software Development c++ matrix-multiplication
Member Avatar for zeroliken
0
969
Member Avatar for theMediator

Here is the code in question: [CODE] filePath = "..\authors.xml" dsAuthors.ReadXml(filePath) With DataGrid1 .DataSource = dsAuthors .DataMember = "authors" End With [/CODE] However, it will not allow me to reference .DataMember, it keeps popping up with the error text "'DataMember' is not a member of 'System.Windows.Forms.DataGrid'". What can I do …

Software Development vb.net xml
Member Avatar for thines01
0
73
Member Avatar for cplusfreak

#include<iostream> int add(int a, int b) { int sum; sum=a+b; return sum; } int sub(int a, int b) { int sub; sub=a-b; return sub; } int mul(int a, int b) { int mul; mul=a*b; return mul; } float div(float a, float b) { float div; if (b==0) { return 0; …

Software Development c++
Member Avatar for thines01
0
159
Member Avatar for margreet

HI there, I am a total newbee and looking for someone who has time to give me some extra python lessons. For my pre-master I need to wrap up this course. There is a small amount of compensation available. I live in Amsterdam (NL). Please let me know on short …

Software Development python
Member Avatar for woooee
0
152
Member Avatar for Pamilerin

hello daniweb please I woiuld like help on how to convert rss feeds to datagrid in this fomat <Row> <Cell><Data ss:Type="String">Symbol</Data></Cell> <Cell><Data ss:Type="String">Close</Data></Cell> <Cell><Data ss:Type="String">Prev</Data></Cell> <Cell><Data ss:Type="String">Chg</Data></Cell> <Cell><Data ss:Type="String">% Chg</Data></Cell> <Cell><Data ss:Type="String">Open</Data></Cell> <Cell><Data ss:Type="String">High</Data></Cell> <Cell><Data ss:Type="String">Low</Data></Cell> <Cell><Data ss:Type="String">Avg</Data></Cell> <Cell><Data ss:Type="String">Deals</Data></Cell> <Cell><Data ss:Type="String">Vol</Data></Cell> <Cell><Data ss:Type="String">Value</Data></Cell> </Row> <Row> <Cell><Data ss:Type="String">7UP</Data></Cell> <Cell><Data ss:Type="Number">41.75</Data></Cell> …

Software Development vb.net visual-basic xml
Member Avatar for thines01
0
384
Member Avatar for bo0ga

I'm about to graduate and I've been applying for jobs. I know some basic programming languages and I asked the guy that I'm going to interview with on Tuesday if there is any specific language or program I should review. He said .Net I know nothing about this particular language. …

Software Development asp.net vb.net
Member Avatar for thines01
0
245
Member Avatar for Valiantangel

I am getting an error fors x in the polynomial expression.If i put my cursor it says Expected:a';' Code blocks are created by indenting at least 4 spaces ... and can span multiple lines #include<stdio.h> #include<stdlib.h> int main(void) { double x=2.55; double polynomial=3x^3-5x^2+6; printf("The value of polynomial is %lf\n",polynomial); system("pause"); …

Software Development c
Member Avatar for zeroliken
0
80
Member Avatar for 3nrichedd

Im making this program that reads in a java file and creates a new file with a formatted version of the file. Basically every place there is a { open braces, I want to add 4 spaces to each lines after that etc.. Here is what I have so far.. …

Software Development java open-source
Member Avatar for NormR1
0
229
Member Avatar for N1GHTS

I am importing some C code into a C++ compiler, specifically Borland C++ Builder 5. I seem to have a problem with this style of code: // A structure that contain's itself typedef struct AnObject AnObject; struct AnObject { AnObject *Object; }; // A global structure to store a pointer …

Software Development c++
Member Avatar for N1GHTS
0
243
Member Avatar for mitchfizz05

Hello all daniwebbers. I've been working on an application that uses TCP to send messages to another computer, but I am going to be updating it alot! I know how to make my program update itself, but I just want a progress bar so you know how long it will …

Software Development vb.net
Member Avatar for codeorder
0
375
Member Avatar for Rogue.

So how would I click on a submit button with the HTML element being: <input src="/images/members/submit_button.png?1331667296" type="image">

Software Development gui image vb.net
Member Avatar for codeorder
0
96
Member Avatar for Zilna

I have been messing with this for 2 days now and for some reason my image will not show up. I have tried to move the code around to varying locations just to see if I am just placing it in the wrong area but nothing seems to work. /* …

Software Development gui image java java-swing
Member Avatar for NormR1
0
199
Member Avatar for pendo826

There's something wrong with the curly brace's can anyone see where please. //****************************************************************************************** //Header file for LinkedList.cpp. //****************************************************************************************** #ifndef LINKEDLIST_H #define LINKEDLIST_H //****************************************************************************************** //Declaring templates for classes. //****************************************************************************************** template<class Datatype> class LinkedListNode; template<class Datatype> class LinkedList; template<class Datatype> class LinkedListIterator; //****************************************************************************************** //Class: LinkedListNode. //Description: This is a class for the …

Software Development c++ linked-list
Member Avatar for TrustyTony
0
400
Member Avatar for noorah

Write a C++ program that asks the user to enter an integer n followed by n numbers. The program will use 2 stacks to enter the numbers entered by the user. In every iteration the program will balance the total of the numbers stored in every stack. For example, if …

Software Development c++ data-structure
Member Avatar for Lerner
0
232
Member Avatar for benclifford

Hi, I have a problem when trying to compile a program in C++ on linux using g++. **smurfVillage.h** #ifndef smurfVillage_H #define smurfVillage_H class Creature { private: char gender; int age; char species; public: Creature(); //parameterless default constructor Creature(char,int,char); ~Creature(); char getGender(); int getAge(); char getSpecies(); char setGender(char); int setAge(int); char …

Software Development c++
Member Avatar for Lerner
0
363
Member Avatar for weeziefoo

I am a CS1 student and have had no issues until this point in the class really. I have been working on this for awhile now and cannot figure out how to get this to work! I am supposed to use this code and modify it to #1 - open …

Software Development algorithm c++ file-system
Member Avatar for weeziefoo
0
608
Member Avatar for majorawsome

I am using Code::Blocks as my IDE and I am creating a text based game (Not very complex as I am just starting out with c++). As I proceed through this project I have found it more orderly to have multiple cpp files within a folder that relate(like two cpp …

Software Development c++ ide
Member Avatar for majorawsome
0
192
Member Avatar for Jakjakjak

I am in an Intro to Computing class and I have been doing fairly well but this program really has me stumped. This is our assignment: The program will take as input a worker’s first name, last name, ID number (four digit number), and unit production numbers for the last …

Software Development c++
Member Avatar for Jakjakjak
0
2K
Member Avatar for n4j

hello everyone i have a large text file (about 5 GB) and with a program i should edit it with given information by user. when i use ordinary c++ functions related to files, it gives me error for that large file, however it works properly for a small text file. …

Software Development c++
Member Avatar for n4j
0
116
Member Avatar for Bladtman242

When i use this code from another class (I'll post the client if necessary, but in the interest of making a short post:) I get an ArrayStoreException from line 31. As I see it: the array is of runtime-type V, the item that should be added to the array should …

Software Development java
Member Avatar for Bladtman242
0
187
Member Avatar for pedojacko

1st class public class Student { private String name; private double id, examMark, courseMark, totalMark,grade; Student(String name,double id,double examMark,double courseMark){ this.name=name; this.id=id; this.examMark=examMark; this.courseMark=courseMark; this.totalMark=getMark(getExammark(),getCoursemark()); this.grade=grade; } public String getName()// to return name of student { return name; } public double getID()//to return id of the student { return id; …

Software Development java
Member Avatar for NormR1
0
139

The End.