473,394 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Can't get $cnt++ to work


I have a little simple hit counter. It works if I replace $cnt++;
with #cnt = $cnt + 1;
I can't see why this doesn't work. Any ideas?
if(file_exists("counter.dat")) {
$f = fopen("counter.dat", "r");
$cnt = fread($f, 10);
//echo "\n", "count 1 = ", $cnt, "\n";
fclose($f);
//$cnt++; DOESN'T WORK!!!
$cnt = $cnt + 1;
//echo "\n", "count 2 = ", $cnt, "\n";
$f = fopen("counter.dat", "w");
fwrite($f, $cnt);
fclose($f);
printf("\n%d people have visited this page\n", $cnt);
}

thanks,
Wilfred
Jul 17 '05 #1
20 2982
On Tue, 27 Jul 2004 19:01:36 -0400
Wilfred Johnson <wj****@yahoo.com> wrote:

I have a little simple hit counter. It works if I replace $cnt++;
with #cnt = $cnt + 1;
I can't see why this doesn't work. Any ideas?


What happens if you replace $cnt++ with ++$cnt?

This might not work, just an idea...

Madsen

--
Anders K. Madsen --- http://lillesvin.linux.dk

"There are 10 types of people in the world.
Those who understand binary - and those who don't."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBBuZolNHJe/JASHcRAg2SAJ0eU/e3kidGrBoe92fbFlOxqSGsUACfeTRV
hRUEq2cil4if7QU4iehQBt0=
=urf/
-----END PGP SIGNATURE-----

Jul 17 '05 #2
> I have a little simple hit counter. It works if I replace $cnt++;
with #cnt = $cnt + 1;
I can't see why this doesn't work. Any ideas?

$cnt = fread($f, 10);
//echo "\n", "count 1 = ", $cnt, "\n";
fclose($f);
//$cnt++; DOESN'T WORK!!!


Please use the following notation and your $cnt++ will work -
$cnt = (int) fread($f, 10);

____________________________________
Wil Moore III, MCP | Integrations Specialist
Jul 17 '05 #3
On Tue, 27 Jul 2004 16:38:41 -0700
<la*******@hotmail.com> wrote:
I have a little simple hit counter. It works if I replace $cnt++;
with #cnt = $cnt + 1;
I can't see why this doesn't work. Any ideas?

$cnt = fread($f, 10);
//echo "\n", "count 1 = ", $cnt, "\n";
fclose($f);
//$cnt++; DOESN'T WORK!!!


Please use the following notation and your $cnt++ will work -
$cnt = (int) fread($f, 10);


Oh yeah, of course!
Disregard my answer earlier in this thread, it sucks!

So much for PHPs implicit types! :-p

--
Anders K. Madsen --- http://lillesvin.linux.dk

"There are 10 types of people in the world.
Those who understand binary - and those who don't."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBBuvIlNHJe/JASHcRAqhhAJoCvDa1zMjYauov1Lu8iBjYQ3UUtQCfTfGQ
g5M7h2MZOaWscWa1b/HEf6U=
=w7pP
-----END PGP SIGNATURE-----

Jul 17 '05 #4
Wilfred Johnson wrote:
I have a little simple hit counter. It works if I replace $cnt++;
with #cnt = $cnt + 1;
I can't see why this doesn't work. Any ideas?
if(file_exists("counter.dat")) {
$f = fopen("counter.dat", "r");
$cnt = fread($f, 10);
//echo "\n", "count 1 = ", $cnt, "\n";
fclose($f);
//$cnt++; DOESN'T WORK!!!
$cnt = $cnt + 1;
//echo "\n", "count 2 = ", $cnt, "\n";
$f = fopen("counter.dat", "w");
fwrite($f, $cnt);
fclose($f);
printf("\n%d people have visited this page\n", $cnt);
}

thanks,
Wilfred

I put it on my server, it works fine:

<?
if(file_exists("counter.dat")) {
$f = fopen("counter.dat", "r");
$cnt = fread($f, 10);
//echo "\n", "count 1 = ", $cnt, "\n";
fclose($f);
$cnt++;
//$cnt = $cnt + 1;
//echo "\n", "count 2 = ", $cnt, "\n";
$f = fopen("counter.dat", "w");
fwrite($f, $cnt);
fclose($f);
printf("\n%d people have visited this page\n", $cnt);
}
?>

If that doesn't work, then you need to break the code up into simpler
steps to find out why.

start with:
<?
$cnt=8;
$cnt++;
echo $cnt;

?>
If it says "9", which would be correct, then there's probably something
wrong with your original code. Just reconstruct the original code a
piece at a time until the error reappears.

red
Jul 17 '05 #5

I did cast the fread return to an int and it now works now. My php
is on linux and is version 4.3.7.
On Wed, 28 Jul 2004 03:31:30 GMT, Rainbow News Service
<ne**@rainbowfamily.info> wrote:
Wilfred Johnson wrote:
I have a little simple hit counter. It works if I replace $cnt++;
with #cnt = $cnt + 1;
I can't see why this doesn't work. Any ideas?
if(file_exists("counter.dat")) {
$f = fopen("counter.dat", "r");
$cnt = fread($f, 10);
//echo "\n", "count 1 = ", $cnt, "\n";
fclose($f);
//$cnt++; DOESN'T WORK!!!
$cnt = $cnt + 1;
//echo "\n", "count 2 = ", $cnt, "\n";
$f = fopen("counter.dat", "w");
fwrite($f, $cnt);
fclose($f);
printf("\n%d people have visited this page\n", $cnt);
}

thanks,
Wilfred

I put it on my server, it works fine:

<?
if(file_exists("counter.dat")) {
$f = fopen("counter.dat", "r");
$cnt = fread($f, 10);
//echo "\n", "count 1 = ", $cnt, "\n";
fclose($f);
$cnt++;
//$cnt = $cnt + 1;
//echo "\n", "count 2 = ", $cnt, "\n";
$f = fopen("counter.dat", "w");
fwrite($f, $cnt);
fclose($f);
printf("\n%d people have visited this page\n", $cnt);
}
?>

If that doesn't work, then you need to break the code up into simpler
steps to find out why.

start with:
<?
$cnt=8;
$cnt++;
echo $cnt;

?>
If it says "9", which would be correct, then there's probably something
wrong with your original code. Just reconstruct the original code a
piece at a time until the error reappears.

red


Jul 17 '05 #6
Anders K. Madsen wrote:

Could you check your news settings, Anders ? All your contributions appear
as attached files.
TY
Pjotr
Jul 17 '05 #7
On Wed, 28 Jul 2004 15:22:06 +0200, Pjotr Wedersteers wrote:
Anders K. Madsen wrote:

Could you check your news settings, Anders ? All your contributions appear
as attached files.
TY
Pjotr

They all appear fine to me...
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
I suspect the news issue is your client ;)

Regards,

Ian
--
Ian.H
digiServ Network
London, UK
http://digiserv.net/

Jul 17 '05 #8
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Jul 2004 15:22:06 +0200
"Pjotr Wedersteers" <x3****@westerterp.com> wrote:
Could you check your news settings, Anders ? All your contributions
appear as attached files.


Of course... I've heard complaints about this before, but alas, I don't
know what causes it.
I'm trying a new setting now, so if it's alright, please tell me so.

I'm using Sylpheed-Claws (as you can see in my X-Mailer header), so if
anyone knows how to make it _not_ attach the messages I'd be very
delighted to hear it.

Best regards
Madsen

- --
Anders K. Madsen --- http://lillesvin.linux.dk

"There are 10 types of people in the world.
Those who understand binary - and those who don't."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB7GLlNHJe/JASHcRAta5AJ4pyn5isgexxDNuoS2gVj/8ciqsZwCdFfL1
A7YwDMaEgfFKKJuvbHgZjjE=
=bMzP
-----END PGP SIGNATURE-----
Jul 17 '05 #9
I think you may try that:

$cnt=trim($cnt);
$cnt++;
Wilfred Johnson <wj****@yahoo.com> wrote in message news:<qh********************************@4ax.com>. ..
I have a little simple hit counter. It works if I replace $cnt++;
with #cnt = $cnt + 1;
I can't see why this doesn't work. Any ideas?
if(file_exists("counter.dat")) {
$f = fopen("counter.dat", "r");
$cnt = fread($f, 10);
//echo "\n", "count 1 = ", $cnt, "\n";
fclose($f);
//$cnt++; DOESN'T WORK!!!
$cnt = $cnt + 1;
//echo "\n", "count 2 = ", $cnt, "\n";
$f = fopen("counter.dat", "w");
fwrite($f, $cnt);
fclose($f);
printf("\n%d people have visited this page\n", $cnt);
}

thanks,
Wilfred

Jul 17 '05 #10
Anders K. Madsen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Jul 2004 15:22:06 +0200
"Pjotr Wedersteers" <x3****@westerterp.com> wrote:
Could you check your news settings, Anders ? All your contributions
appear as attached files.


Of course... I've heard complaints about this before, but alas, I
don't know what causes it.
I'm trying a new setting now, so if it's alright, please tell me so.

I'm using Sylpheed-Claws (as you can see in my X-Mailer header), so if
anyone knows how to make it _not_ attach the messages I'd be very
delighted to hear it.

Best regards
Madsen

- --
Anders K. Madsen --- http://lillesvin.linux.dk

"There are 10 types of people in the world.
Those who understand binary - and those who don't."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB7GLlNHJe/JASHcRAta5AJ4pyn5isgexxDNuoS2gVj/8ciqsZwCdFfL1
A7YwDMaEgfFKKJuvbHgZjjE=
=bMzP
-----END PGP SIGNATURE-----


Sorry, it may well be my newsreader which has a problem with some formats (I
never thought OE was the perfect newsreader). But now it appears fine here,
ty!

Pjotr
Jul 17 '05 #11
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Jul 2004 17:23:33 +0200
"Pjotr Wedersteers" <x3****@westerterp.com> wrote:
Sorry, it may well be my newsreader which has a problem with some
formats (I never thought OE was the perfect newsreader). But now it
appears fine here, ty!


Yeah, the other people complaining about my posts being attachments also
use OE. But I guess I'll just use the inline PGP signature then. Unless
somebody tells me that it is highly non-standard.

Best regards,
Madsen
- --
Anders K. Madsen --- http://lillesvin.linux.dk

"There are 10 types of people in the world.
Those who understand binary - and those who don't."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB8kblNHJe/JASHcRAgZPAJ4+n7x0fDU99jVNxzSvcW80gYP0NQCfX3kT
wb6WOPlf873WX+odnr7XQDk=
=BZev
-----END PGP SIGNATURE-----
Jul 17 '05 #12
On Wed, 28 Jul 2004 16:00:43 +0200, Anders K. Madsen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Jul 2004 15:22:06 +0200
"Pjotr Wedersteers" <x3****@westerterp.com> wrote:
Could you check your news settings, Anders ? All your contributions
appear as attached files.


Of course... I've heard complaints about this before, but alas, I don't
know what causes it.
I'm trying a new setting now, so if it's alright, please tell me so.

[ snip ]
Heh.. now wait for the other complaints Anders.. about your sig exceeding
4 lines ;)

FWIW.. I'm not complaining.. the inline version works fine reading it in
Pan (windoze and FreeBSD) and the signed single version also works.. but
from past experience, people dislike this [sigh]. I used to use PGP to
post to most groups too.. as I used to frequent alt.comp.virus regularly..
in some groups more than others, signing posts made sense.. and searching
google for my unmunged address in this post will reveal some idiotic posts
to spam, virus and some suicide groups courtesy of some kid who didn't
like a response I made (kids will be kids I guess) which outlines why I
personally think signing has some benefit.. but I ended up dropping the
lot to keep the peace.

Hopefully you wont get hassled too.. but keep your fireproof suit handy =)

Regards,

Ian

--
Ian.H
digiServ Network
London, UK
http://digiserv.net/

Jul 17 '05 #13
I noticed that Message-ID:
<pa****************************@bubbleboy.digiserv .net> from Ian.H
contained the following:
which outlines why I
personally think signing has some benefit.. but I ended up dropping the
lot to keep the peace.


As if anyone could mistake your style...<g>

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #14
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Jul 2004 16:13:23 GMT
"Ian.H" <ia*@WINDOZEdigiserv.net> wrote:
On Wed, 28 Jul 2004 16:00:43 +0200, Anders K. Madsen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Jul 2004 15:22:06 +0200
"Pjotr Wedersteers" <x3****@westerterp.com> wrote:
Could you check your news settings, Anders ? All your contributions
appear as attached files.
Of course... I've heard complaints about this before, but alas, I
don't know what causes it.
I'm trying a new setting now, so if it's alright, please tell me so.

[ snip ]
Heh.. now wait for the other complaints Anders.. about your sig
exceeding 4 lines ;)

FWIW.. I'm not complaining.. the inline version works fine reading it
in Pan (windoze and FreeBSD) and the signed single version also
works.. but from past experience, people dislike this [sigh]. I used
to use PGP to post to most groups too.. as I used to frequent
alt.comp.virus regularly.. in some groups more than others, signing
posts made sense.. and searching google for my unmunged address in
this post will reveal some idiotic posts to spam, virus and some
suicide groups courtesy of some kid who didn't like a response I made
(kids will be kids I guess) which outlines why I personally think
signing has some benefit.. but I ended up dropping the lot to keep the
peace.


Hmm, I'd be very sorry to drop my PGP signature. (Are there no space for
security on Usenet?)
I've only begun using it recently and so far, the only complaint I've
had not being about my messages being attached in OE rather than an
actual RFC-822 mail, is one guy who questioned the actual usefulness of
PGP signatures on Usenet.
Hopefully you wont get hassled too.. but keep your fireproof suit
handy =)


Hehe, I will. :) Thanks!

Madsen

- --
Anders K. Madsen --- http://lillesvin.linux.dk

"There are 10 types of people in the world.
Those who understand binary - and those who don't."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB+dilNHJe/JASHcRAt8vAJ9gN7oKYr1UQmWoY/laAfN/+Hbp6QCfTu23
YApy4LNtmbMbj1YJdwifnRY=
=Rm9P
-----END PGP SIGNATURE-----
Jul 17 '05 #15
On Wed, 28 Jul 2004 18:20:43 +0100, Geoff Berrow wrote:
I noticed that Message-ID:
<pa****************************@bubbleboy.digiserv .net> from Ian.H
contained the following:
which outlines why I
personally think signing has some benefit.. but I ended up dropping the
lot to keep the peace.


As if anyone could mistake your style...<g>

LOL! Hi Geoff..

I like to be different =)

Regards,

Ian

--
Ian.H
digiServ Network
London, UK
http://digiserv.net/

Jul 17 '05 #16
On Wed, 28 Jul 2004 19:50:26 +0200, Anders K. Madsen wrote:
[ snip ]

Hmm, I'd be very sorry to drop my PGP signature. (Are there no space for
security on Usenet?)
I've only begun using it recently and so far, the only complaint I've
had not being about my messages being attached in OE rather than an
actual RFC-822 mail, is one guy who questioned the actual usefulness of
PGP signatures on Usenet.

[ snip ]

It doesn't happen often, but when you do get some idiot posing as you, the
sigs are useful.. especially if you don't "know" the person too well that
you're reading a post from (new to a group for example.. over time, you
get to recognise "styles"). alt.hacker is notorious for this unfortunately
as the script kiddies misunderstand the word 'hacker' so when they get
told to go and beg for cracks or how to get their "friend's" hotmail
password etc in a more relative group.. well let's just say brains don't
appear to come out in force. The last time was quite ironic when the kid
posted to a.c.virus from my unmunged address with a simple message of
"send me all your viruses" or something to the effect. The group's _anti_
virus for 99.9% of the time and seeing as I had been reading and posting
there for about 3 years, of all the groups he could have picked, that
wasn't the right one and the posts went ignored for the most part (anyone
who "knew me" anyway).. but it is annoying and many ISPs don't care.

Not everyone had issues with me doing it.. but my internal ISP newsgroups
went "mad" about it (like it was some kind of terrorist act or something
lol). I think c.l.php tends to be pretty relaxed.. compared to say,
c.l.perl.misc where you'd have your head bitten off twice per session.

I didn't _have_ to drop mine.. but when I ended up reading maybe 2 or 3
replies a day bitching about my "excessive, pointless sig" I gave up
(life's too short) =)

Oh and of course, the other argument was I was trying to prove how "3l33t"
I was... hmmmmmmm.. the mind boggles =)

I still sign all my mail however.

Regards,

Ian

--
Ian.H
digiServ Network
London, UK
http://digiserv.net/

Jul 17 '05 #17
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Jul 2004 19:16:04 GMT
"Ian.H" <ia*@WINDOZEdigiserv.net> wrote:

[snip]
I didn't _have_ to drop mine.. but when I ended up reading maybe 2 or
3 replies a day bitching about my "excessive, pointless sig" I gave up
(life's too short) =)

Yeah. Well, if that happens, I guess I'll drop mine as well, but I hope
people will just accept the fact that my posts are 190 bytes bigger than
necesarry, because I like them to be able to trust I am me...
But I'll see what happens, I guess.
Oh and of course, the other argument was I was trying to prove how
"3l33t" I was... hmmmmmmm.. the mind boggles =)

lol!
I still sign all my mail however.


Yeah, so do I, but a lot of my friends (hotmail-lamers) ask me what that
strange attachment is... Some of them send me a mail including the
signature and told me I had a virus. Hehe...

- --
Anders K. Madsen --- http://lillesvin.linux.dk

"There are 10 types of people in the world.
Those who understand binary - and those who don't."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBCA+ilNHJe/JASHcRAjqCAJ9G1vN2/Y1dEqNMRq+VvgKgWQGF0gCdEHAi
ctKPjsiwr1hyTGyzgi/XNB4=
=6MYb
-----END PGP SIGNATURE-----
Jul 17 '05 #18
On Wed, 28 Jul 2004 22:42:10 +0200, Anders K. Madsen wrote:
I still sign all my mail however.


Yeah, so do I, but a lot of my friends (hotmail-lamers) ask me what that
strange attachment is... Some of them send me a mail including the
signature and told me I had a virus. Hehe...

LOL! classic.. gotta love (l)users =D

All my stuff gets signed as-is (like you have yours set now to keep OE
happy) so I've not had this issue.. but AFAIK, this is the "only way"
using windoze PGP (yeah, I'm back on a windoze desktop for a while).. nice
of them to send the "virus" back to you though, just incase you hadn't
thought about running it =)

Regards,

Ian

--
Ian.H
digiServ Network
London, UK
http://digiserv.net/

Jul 17 '05 #19
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 28 Jul 2004 22:03:31 GMT
"Ian.H" <ia*@WINDOZEdigiserv.net> wrote:
On Wed, 28 Jul 2004 22:42:10 +0200, Anders K. Madsen wrote:
I still sign all my mail however.


Yeah, so do I, but a lot of my friends (hotmail-lamers) ask me what
that strange attachment is... Some of them send me a mail including
the signature and told me I had a virus. Hehe...

LOL! classic.. gotta love (l)users =D

All my stuff gets signed as-is (like you have yours set now to keep OE
happy) so I've not had this issue.. but AFAIK, this is the "only way"
using windoze PGP (yeah, I'm back on a windoze desktop for a while)..
nice of them to send the "virus" back to you though, just incase you
hadn't thought about running it =)


LOL! Yeah... They're nice friends. :)
I tried explaining the basic concept of PGP (just a very, very, basic
and brief outline) and after talking for 2 minutes, with them staring
blankly into nothing, I get "sorry, what was that first thing again?".

Just got to accept that other people might not have the same interest in
computers/net that I do --- even though they should. :-P

- --
Anders K. Madsen --- http://lillesvin.linux.dk

"There are 10 types of people in the world.
Those who understand binary - and those who don't."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBCCRWlNHJe/JASHcRAgsEAJ4owUMkd4U4LEcymT4zXVe8AvN4rQCfQCr2
Hd0AZvGmML4vlr0dlub+LA4=
=FZUJ
-----END PGP SIGNATURE-----
Jul 17 '05 #20
I noticed that Message-ID: <20040729001030.6544ca6b@lapsvin> from Anders
K. Madsen contained the following:

LOL! Yeah... They're nice friends. :)
I tried explaining the basic concept of PGP (just a very, very, basic
and brief outline) and after talking for 2 minutes, with them staring
blankly into nothing, I get "sorry, what was that first thing again?".


Try them with the OE begin bug.

begin deadlyvirus.vbs

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Fendi Baba | last post by:
The function is called from opencalendar(targetfield). Thanks for any hints on what could be the problem. .............................................................. var...
3
by: Dean Slindee | last post by:
I want to build an array on the fly in code with a parameter passed for the number of elements in the array. I am trying to do this by looping, but get an array with just one element in the end....
6
by: Paul Sullivan | last post by:
Hi folks. I was hoping that someone can help me out here. I am adding items to a listbox from a database. So far, I've had no problems. However, when I try to use the SetSelected method and...
1
by: zxo102 | last post by:
Hi everyone, I need your help for using python odbc module. I have a simple table defined as create table A ( userId char(10), courseid char(10), grade integer, primary key(userId,courseId)...
4
by: Schüle Daniel | last post by:
Hello group, >>> lst= >>> for i in range(10): .... lst.append(eval("lambda:%i" % i)) .... >>> lst() 0 >>> lst() 1
4
by: jpenguin | last post by:
So I hope someone here can figure it out... main.cpp #include <iostream> #include <iomanip> #include "class.h" using namespace std; void Q(double, double, double, double); double nq(int);
2
by: Msleh08 | last post by:
Hello. The code below shows a basic html text file with a highlighted bar that scrolls over each <tr> using your up/down arrow. If you notice, when you scroll using your up/down arrow the page jerks....
9
by: Dhiru1009 | last post by:
Hi guys, I am trying to build a user registration form using PHP and MYSQL but encountring a problem. When I click on submit with empty fields it adds records to database also it doesn't matter...
7
Walt in Decatur
by: Walt in Decatur | last post by:
I'm trying to use this method to copy an range in Excel workbook that is closed to the one that's open. I'm using the following code, which gets the "Can't find installable ISAM" error when I get to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.