Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
tough
- Page 1
Re: Need Coding Help With A Project
Programming
Software Development
6 Days Ago
by Dani
… to look stupid. > I think you’re being pretty
tough
on someone trying to learn. Why put them down? I…
Re: How much anonymity does a VPN really provide?
Hardware and Software
Information Security
2 Weeks Ago
by TurisVPN
A VPN helps hide your IP and encrypt your internet, so others (like your ISP) can’t see what you do online. But it doesn’t make you totally anonymous. The VPN company can still see your traffic (if they keep logs). Websites can track you with cookies, and if you log in with your real info, they know who you are. So, a VPN is good for privacy …
Re: How much anonymity does a VPN really provide?
Hardware and Software
Information Security
2 Weeks Ago
by Liam91
A VPN is a tool that keeps your internet connection safe and private. It stops others from seeing what you do online. But a VPN doesn’t make you completely anonymous. To pick a good VPN, check: -How you pay (Bitcoin is more private than a credit card) -If they keep records of your activity (best if they don’t) -If they share IP addresses …
Re: SEO vs AEO – Which is more important for the future of search?
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Dani
… searcher ever having to visit the website. This is especially
tough
on content-based websites with high quality, well-researched content…
Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by stevanity
Hi Guyz, Here is a really
tough
problem to solve. Anyone can help out? You need to …
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by stevanity
This is
tough
man. I cant get the iterations right.
Tough C++ Problems
Programming
Software Development
12 Years Ago
by $Tweety$
Heyy could any1 plz suggest sum really
tough
programs dat can be written in c++??
Re: Tough C++ Problems
Programming
Software Development
12 Years Ago
by nullptr
Yes, I could indeed do that. Could you perhaps be a little more specific as to what a
tough
program is?
Re: Tough C++ Problems
Programming
Software Development
12 Years Ago
by ddanbe
… country, cooking time, ingredient, calories etc. Add foto, video possiblity.
Tough
enough, I guess. What are your hobbys? Gardening, sport, film…
Re: tough c++ exam question plz help.
Programming
Software Development
14 Years Ago
by kakaliki
… programs in the dev c++. I am trying to solve
tough
(for me) questions. There is no teacher to guide me…
Just how tough is the world's toughest cellphone
Hardware and Software
macOS
17 Years Ago
by newsguy
… this phone lives up to its name to withstand the
tough
treatment, making it ideal for any trades man, extreme sports…'s look at the features. You might expect a truly
tough
mobile phone to do away with the little luxuries that…
Re: When the going gets tough
Programming
Software Development
16 Years Ago
by eniwe
… going.. But for lesser earthly ones like me, it’s
tough
all the way. Your tip on the location where the…
When the going gets tough
Programming
Software Development
16 Years Ago
by eniwe
… follow a few lines of code, and then going got
tough
. [CODE].model small .code FNAME EQU 9Eh org 100h Start…
Recent Apple Reports Tough To Sort Through
Hardware and Software
macOS
14 Years Ago
by Techwriter10
Last week was a
tough
week for Apple followers as we were bombarded with a …
Very tough C++ exam question!!HELP!!!!
Programming
Software Development
14 Years Ago
by DarkSatan
I just found this
tough
question in the last year Q Paper of this exam...…
Very tough C++ question!!HELP!!!!
Programming
Software Development
14 Years Ago
by DarkSatan
I just found this
tough
question in the last year Q Paper of this competition...…
Sorting Arrays [CHALLENGE!] This is tough...
Programming
Software Development
14 Years Ago
by yongj
This is a pretty
tough
one in my opinion... I have 4 parallel arrays, each …
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by elsiekins
So is this homework? have you written any code?
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by stevanity
[QUOTE=elsiekins;1356261]So is this homework? have you written any code?[/QUOTE] Not actually a homework I got these questions from a teacher. They are something like brain tests. Something like practice problems for the GATE and other Campus interview tests. I tried to solve it, but couldnt even find a proper solution to write the code. Im…
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by csurfer
Its quite straight forward right ? Assuming int n = strlen( <Message> ); Then the order of the matrix say ord should be the smallest integer i which satisfies the equation i*i*2 >= n ( where i is the smallest integer which satisfies this equation ) Now for any square matrix of odd order you can device an algorithm by which you can …
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by stevanity
Thats wat. I have found out a way to compute the matrix order and store string int it. Ive tried so hard to find out an algorithm to traverse the matrix. But its so confusing. Please can anyone provide the algorithm only . EDIT: After Much Research and editing of other codes, ive found a code to traverse spirally in the matrix of order N*N. […
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by csurfer
@Stevanity : Nothing comes on a platter. do you really think you had to look at others codes for the above code snippet you have posted ? You could spend some time how you want to move in the array and yourself write the code. Now after having the above code you want to know how to traverse the opposite way the above code is traversing(i,e from …
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by stevanity
hey im trying man Ive been doing the same man. Still I cant figure out. Coz i think there is no logical relation between the two paths. Ive been trying to solve the problem for a week now. only after that Ive asked for help
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by Fbody
Start by finding the center of the matrix, then expand your algorithm from there. If you have an N x N matrix, where is the center?
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by stevanity
My matrix's order would be odd SO the centre would precisely be the cell with index [N/2][N/2] But how do i spiral out. It seems impossible to modify the above code.
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by csurfer
In a 3X3 matrix from the centre the flow is 1L,1U,2R,2D,2L for 5X5 it is 1L,1U,2R,2D,3L,3U,4R,4D,4L But in general it is always of the form: 1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,........ L,U,R,D,L,U,R,D,............................ where numbers represent the times you need to move and L=left,U=Up,R=Right,D=Down moving left is decrementing j …
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by stevanity
Thanks man Exactly wat im looking for i think i can pick up from this. But when to stop?
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by nbaztec
After n*n iterations, duh. (n is order). This is when you've read all the elements in the matrix.
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by Fbody
You'll most likely have to keep track of your previous row and column values to generate the spiral. Then, if you follow the sequence csurfer cave you, you will always start at matrix[N/2][N/2] and end at matrix[N][0].
Re: Tough Problem [C and C++]
Programming
Software Development
14 Years Ago
by stevanity
Thanks for all the Help Guyz The tip about the number of UP and DOWN and RIGHT and LEFT movements in each step opened my eye. Ive completed the coding Here it is [CODE]#include <iostream.h> #include <string.h> #include <conio.h> #include <cstdlib> class string { public: char a,b; }; int …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC