Posts
 
Reputation
Joined
Last Seen
Ranked #38
Strength to Increase Rep
+15
Strength to Decrease Rep
-3
97% Quality Score
Upvotes Received
725
Posts with Upvotes
627
Upvoting Members
325
Downvotes Received
18
Posts with Downvotes
16
Downvoting Members
14
169 Commented Posts
~1.27M People Reached
Favorite Tags
Member Avatar for learnerya

I am a first-year university student from China. My major is Computer Science and Technology. I have been self-learning C++and data structures and algorithms recently. May I ask how I can learn them well? Is anyone interested in being my teacher or learning with friends? (Machine translation, my English is …

Member Avatar for tinstaafl
1
41
Member Avatar for lam_189

I am a college student in China.My major is math,I want to go to learn programming,but it seems that I can't find a good way,I don't know the correct learning way.I think that I have been lost in useless learning.It's too terrible,my god!

Member Avatar for tinstaafl
2
68
Member Avatar for JModak

The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) My Code is Private Function GetXlUsedRange(ByVal filePath As String) As Object(,) Dim xlApp As Excel.Application Dim xlWorkbooks As Excel.Workbooks Dim xlWorkbook As Excel.Workbook Dim xlSheets As Excel.Sheets Dim xlWorkSheet As Excel.Worksheet Dim xlRange As Excel.Range xlApp = New Excel.Application xlWorkbooks …

Member Avatar for tinstaafl
0
35
Member Avatar for Apoorva_K

THIS IS THE LINK FOR QUESTION:https://practice.geeksforgeeks.org/problems/subarray-with-given-sum/0 #include <iostream> using namespace std; int main() { long long int s,n,a[10000000000],e,d,l,flag=0,t; cin>>t; while(t--) { cin>>n>>s; e=0; flag=0; for(long long int i=0;i<n;i++) { cin>>a[i]; } for(long long int j=0;j<n;j++) { e=a[j]; for(long long int h=j+1;h<n;h++) { e+=a[h]; if(e==s) { l=j; d=h; flag=1; break; } …

Member Avatar for Ethanbrody
1
159
Member Avatar for Surveyking

Dear All, I am new to Daniweb community. I am a business man in India , I want to create a SMS Gateway to send bulk SMS. For this I need to have all the technical know how about the same. I also want to know that is there any …

Member Avatar for SEO Manager
0
770
Member Avatar for Austin_7

Below is the code I have, and the output is below that. It all seems right, but I don't want it to print out the 0's if they appear in the output. How do I do that? #include <iostream> #include <iomanip> using namespace std; int main() { double moneyOwed = …

Member Avatar for TradeLabelSoft
0
3K
Member Avatar for olong tea

Hi, I am new to Java but familiar with python, I need to convert my code from python to Java can anyone help me? Much appreciated! import random suits = ['C', 'S', 'H', 'D'] val = list(range(1,14)) class Card: def __init__(self, suits, val): self.suit = suits self.value = val def …

Member Avatar for JamesCherrill
0
184
Member Avatar for MagnusTheRed90

I have a question about encryption. So I have a code sample that has a key size being chosen, something like 32 bits or something, and I am basically either filling the key size buffer with the password and then zeroes, or null bytes, or a word repeated over and …

Member Avatar for adajames
0
129
Member Avatar for kasmar45

Yes I finally decided to continue on with my programming efforts. I would like to be able to refer to myself as a master programmer, but I may not have that much time, after all I am almost 80 years old. Right now I'm delving into C++ and finding it …

Member Avatar for john_111
4
290
Member Avatar for complete

In a C# solution, how do I add an .EXE project to a solution of DLL project's? This is using Microsoft Visual Studio Professional. I have been handed a solution file which contains three projects. But all three projects generate DLL files. It is kind of unique because I have …

Member Avatar for tinstaafl
0
161
Member Avatar for Miguel Nicholas

To be honest with you, all the codes that i made were self taught, i had to advance myself to learn more stuff in C++ which my first challenge is to make a simple but clean made text based adventure game, but im at the wall atm. (don't judge me, …

Member Avatar for kidspointdotin
4
3K
Member Avatar for tanatos.daniel

I want to determine if the mouse cursor is above a Windows Form and if so, change its color, but I'm kind of new to this and C# also. I was thinking of something like this: public Form1() { InitializeComponent(); if (Control.MousePosition.Y >= 0 && Control.MousePosition.Y <= 499 && Control.MousePosition.X …

Member Avatar for bir_924
2
6K
Member Avatar for sarman.boyslo

hi all, newbie wanna ask again... i have build gui with VB6, my gui that i designed has a big size, fullscreen when i run, so in normal mode (not running) if i want to see the form i have to scroll it, if i want to save the design …

Member Avatar for Junjie_1
0
885
Member Avatar for sasha12

can somone tell me why my output does not want to reverse and the solution to it #include <stdio.h> #include <string.h> #define QUIT_LETTER 'q' // Again, in a practical program, this is a ridiculously small size // for an array that is supposed to hold a line of text. But …

Member Avatar for tinstaafl
0
47
Member Avatar for cambalinho

i have code for write on console and change the text color and backcolor and clear screen(and much more) inside of a nice class console. these function change the text color and back color: void SetColorAndBackground(int ForgC, int BackC=0) { SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), ForgC|(BackC<<4) ); } but is there any way for …

Member Avatar for Mendoza,
1
4K
Member Avatar for shannishan

Hey guys, I want to Know is there any way to get sum of numbers which entered in single textbox in VB6 as a example; i have textbox named txt1 in that user can type any value (12+23+34+12....) (separate the values by adding "+").when the user click the command button, …

Member Avatar for 23219
2
8K
Member Avatar for I_GEVO

hi, I put a button to run the batch file and everything is fine But when the file works it asks for other files that are complete to run it and I did not know how to merge it together to work properly and these pictures ![1.png](https://static.daniweb.com/attachments/4/83b5662430989d1e87d8ad82ef1a2851.png) ![3.png](https://static.daniweb.com/attachments/4/7a92fe7a9051f62f3c292b5b8830433a.png) ![Screenshot_13.png](https://static.daniweb.com/attachments/4/cc156d0fa8215abef8802da216cc1a96.png) ![2.png](https://static.daniweb.com/attachments/4/18a4dd6b1d04de74b1629bd70a0ee460.png)

Member Avatar for tinstaafl
0
77
Member Avatar for Onion13

Making a scrolling space shooting video game in C# where the player will fight one on one with their opponent. I was able to figure out how to make the missile go up if the opponent was above the player. But, I can't seem to make it work if the …

Member Avatar for tinstaafl
1
279
Member Avatar for Ace_806

Hi! I found this code in one of the threads [here](https://www.daniweb.com/programming/software-development/threads/125119/auto-generate-id-number#post611289) I converted it into an access kind of code(?) and unfortunately, it won't increment, nor find the top/max in my database. Someone please help? ` Private Function GenID() As String Dim dr As OleDbDataReader Dim com As OleDbCommand Dim …

Member Avatar for tinstaafl
0
74
Member Avatar for clementer

I am looking to sort an arraylist of arraylist of doubles and I require help? I was informed that I need to implement comparator or comparable and then use the collection.sort to sort the list of list in order... ArrayList<ArrayList> list = new ArrayList<ArrayList>() If you look at the list …

Member Avatar for tinstaafl
0
830
Member Avatar for TimTheCoder

i have a script in clojure that can read a string of integers separated by commas from a file..the scrip is succesful and reads the line from the file as astring,all i want is some clojure loop to scan the string for integers and add to an integer array here …

Member Avatar for tinstaafl
0
65
Member Avatar for Komlika_1

Consider the following database Room (room_no,room_name,room_type,charges) Guest(Guest_code, Gname,city) The relationship is as follows: Room-Guest: one-to-one. room_type can have values as either ‘AC’ or ‘NonAC’. Q 2) A Create the above database in PostGreSQL and insert sufficient records.

Member Avatar for john_111
1
2K
Member Avatar for tinstaafl

Basically this scheme uses variable offsets, but it generates the bytes on the fly. They aren't truly random, but there aren't any obvious patterns and the output passes all the NIST tests. Since a simple password can be used to do the de/encryption it is much easier to hand off …

Member Avatar for JamesCherrill
2
314
Member Avatar for ComSciNum7

I'm having trouble with these functions made for a C++ hash table...any and all pointers in the right direction would be greatly appreciated! EDIT: table.h is the problem file, but I included node.h just in case! // FILE: table.h #ifndef TABLE_H #define TABLE_H #include <cstdlib> // Provides size_t #include <string> …

Member Avatar for tinstaafl
0
146
Member Avatar for Muhamad_7

#include<iostream> using namespace std; int main() { string weekday; weekday= {"Mon","Tue","Wed", "Thu","Fri"}; cout<<"\n Please select day of booking:"; cin>>weekday; cout<<"\n Day of booking:"; return 0; }

Member Avatar for tinstaafl
0
32
Member Avatar for Nelam parveen
Member Avatar for dckumawat05

Hey I want to Develop A mobile app in android for my food business. Can anyone suggest me any company and the cost of the App? Thanks

Member Avatar for Naheedmir
2
2K
Member Avatar for Phoeboo

Having problem in pin code if the user will input less than 4 digit number and a character type..could some1 help me from this.. (@@, #include<stdio.h> #include<conio.h> #include<iostream.h> float choice2(); float choice3(); float ball[11]={1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000}; float mypin; float withdraw, deposit; int transaction, myaccount; char transaction1; main() { pin:{ system("cls"); printf("Enter pin …

Member Avatar for Mexxyy028
0
6K
Member Avatar for s_26

public class Hello { public static void main (String[] args) { System.out.println("My contact number is: "); int srv = 82; system.out.println(srv);

Member Avatar for tinstaafl
0
156
Member Avatar for sanjay2012

Error 1 'AdvoDiary.DataSet' is a 'namespace' but is used like a 'type' D:\AdvoDiary\AdvoDiary\ReportViewer\rptBilling.cs 25 9 AdvoDiary namespace AdvoDiary.ReportViewer public partial class rptBilling : Form Common sCom; DBHelper myDB; string sOLE; clsGlobalVar objGlob; OleDbConnection cn; OleDbDataAdapter sDA; DataSet sDS; OleDbCommand cmd;

Member Avatar for tinstaafl
0
330