« first day (3690 days earlier)      last day (1259 days later) » 

12:51 AM
@Milad One example is constructor parameter initialization f():b(true)
 
1:46 AM
People who can not see the truth will be used by those who do. -Telkitty
 
2:22 AM
hey peeps, does anyone know about building Firefox from sources? I have followed the build guide for Windows firefox-source-docs.mozilla.org/setup/… and it's working, but after I made changes to .cpp files and ran mach build again, it did something for a minute, but I couldn't see the changes reflected in the build
I have no c++ experience but I'm a c# dev by trade, so maybe I misunderstood something or there's something I don't know about the firefox build process
 
Remove all the intermediate files, clean all and rebuild all?
 
yea I tried cleaning the objdit with mach clobber and it left something so I deleted it completely, now waiting for the third build to finish
are the intermediate files in objdir or not?
 
2:44 AM
didn't work with just deleting the obj dir
where would these intermediate files be located?
 
2:58 AM
I'm guessing it's the `mozilla-source\mozilla-unified\obj-x86_64-pc-mingw32` dir
 
3:25 AM
Hey guys kind of stuck on a coding assignment for school where I can't get the second parameter in an if statement to be checked if anyone can help me
0
Q: if loop inside a void function not working

Jessica AlvaradoSo I'm doing a program for a class, and I set up an if loop inside a function definition to set parameters for entries. I'm supposed to be taking inputs between 0 and 10 only. But it's only catching the numbers that are less than 0. It won't catch the numbers larger than 10. int main() { floa...

it is a c++ program
 
-6
Q: C++ multiple conditions for if statement

Ed HasajAnyone know why this wont work. How am I supposed to put in multiple conditions to be met. else if (studentoverall < 90; studentoverall>=80) { lettergrade = "B"; }

have you tried the && form instead of || ?
also, try logically explaining why you chose ||
@JessicaAlvarado also how are you testing your program exactly?
 
3:56 AM
So I did try && and || both.
With the || it'll check the first parameter but not the second, and with && it won't check any parameters. I can't figure out why. I tried rearranging it, making the numbers constants, but I can't get it.
 
ok try this: enter -1 and then when you get the error enter -1 again and see if the error appears again
which numbers are you entering?
 
I had been entering -1 as a tester and it showed the error, but the second time I put it in it counted it
 
why do you think that is?
 
and i was using like 20 to test the greater than 10
I honestly don't know :/
This is my 1st programming class
 
are you doing step by step debugging or just running it in the console without looking at the debugger?
 
4:03 AM
I am testing values in the console I did debug but there wasn't anything wrong
Should I try the step by step
 
well, this is my first day of figuring out c++ also but I've been working with c# for 12 years now, so I think I found the logical problem which thankfully has nothing to do with the programming language :)
also I suspect your assignment either describes how the program should work or be tested very vaguely or you missed something about how the numbers should be entered and what happens when you enter a bad number
 
I don't really understand what you mean
 
look at the line after the error message
 
the cin >> score; ?
 
yup
 
4:08 AM
still not following
 
what do you think would happen if you enter any number on that line?
 
I see what you mean, I think. It doesn't check the second input for the parameters.
 
yup
 
But either way, I still can't get it to deny any number bigger than 10
 
how so?
 
4:12 AM
the input isn't supposed to allow a number less than 0 or larger than 10. it will give the error message for numbers less than 0, but not for the numbers larger than 10.
 
are you by any chance testing it by entering -20 first, then you see the error, then you enter 20, and you see no error?
how about try entering 20 always
 
i see what you mean... and i ashamedly was lmfaoooooo
I'm sorry lmao thanks for that AWAKENING... i feel dumb
 
learn something new everyday lol
 
lmfao thank you so much
 
no problem
 
4:30 AM
@TelKitty just wanted to let you know, I did the thing
turns out there's hella overrides for methods in the firefox codebase
the one I was looking for wasn't even in the folder I searched in initially, and there's so much that I decided I could guess it with my intuition, but was wrong
well, thanks for the fish
 
 
7 hours later…
11:03 AM
@thecoshman I worked on a coroutines video a couple of weeks ago, but it didn't really "click". Maybe I'll pick it up sometime.
 
nwp
11:18 AM
@traducerad I don't have anything better. I wish I did.
 
11:35 AM
Morning
more or less
 
 
10 hours later…
9:56 PM
Ok, that was a god day
Good evening
 
 
1 hour later…
11:07 PM
hello
 

« first day (3690 days earlier)      last day (1259 days later) »