Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
end-of-line
- Page 1
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Days Ago
by david.tigner
… the 1st running PHP file). Adding the semi-colon at
end
of
line
18 (in previously discussed code) did not work and…
VB2010- why i get a different vertical size\color on RayCasting?
Programming
Software Development
3 Weeks Ago
by cambalinho
…Else OffSetGrid = HorizX Mod ObjectSize WallDistance = HorizDist VertColor = Color.Blue
End
If WallDistance = WallDistance * Math.Cos(RayRadians - player.Radians) 'avoiding….php?902527-VB6-raycasting-how-get-the-image-
line
but without success :(
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Weeks Ago
by Biiim
… the root directory are directories: PHPMailer, RNHindex, etc.). IONOS tech
line
said that the reason for the blank white screen is… pointed out, there is the error on
line
18 that needs a semicolon on the
end
: "Comments or Questions: " . $_POST…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Weeks Ago
by Dani
… above, you don't have a semi-colon at the
end
.
Re: Improve HAVING BY performance
Programming
Databases
3 Weeks Ago
by Biiim
…, but there were two (specifically, that looked at whether the
end
-user had posted in the topic, or had unread posts… needing to wait for data over the network. My work
line
might be a bit different since I work on the…
VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
… & VertDist & vbTab & "vertical
line
"
End
If WallDistance = WallDistance * Cos(Player.Radians) RayHeight = ObjectSize… + RayHeight / 2
End
Sub output: 35,4424985851603 Draw Horizontal 4548,40096311184 vertical
line
the Horizontal intersection works …
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
…& HorizDist & vbTab & "Horizontal
line
" Else ' Draw the horzontal ray: A.DrawLine Fix…vbTab & VertDist & vbTab & "vertical
line
"
End
If WallDistance = WallDistance * Cos(Abs(RayRadians - Player.Radians…
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
finally i found the problem is on these
line
: HorizDist = Sqr(((HorizX - Player.PosX) * (HorizX - Player.PosX)) + ((… the width screen... is for get the height of vertical
line
A.ForeColor vbBlue A.DrawLine 475 + 50, 200 / … drawed like you see i get the Height vertical
line
... but theres a problem, because the 200 is …
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by rproffitt
For VertDist I would set a break on
line
104 so I could examine the values in
line
103. Also, could be a localization issue that the comma is used for the decimal point and the integer of the results might be 35 and 4548.
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
…blnLoop = False Set A = Nothing Set s = Nothing
End
ElseIf (KeyCode = vbKeyLeft) Then Player.Radians = Player.Radians …) / ObjectSize) Player.MapY = Fix((Player.PosY) / ObjectSize)
End
If
End
If Me.Caption = "X: " + Str(Player…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
1 Month Ago
by usmanmalik57
…:` followed by the text review. At the
end
of the review, we insert a new
line
and add the text `Sentiment:` followed…
Re: How to disable the automatic swipe effect on the product page?
Programming
Web Development
1 Month Ago
by rproffitt
This is not an offer of edits or support. slideDelay at https://www.lightgalleryjs.com/docs/settings/ looks like something I'd look to add or change. Sometimes website owners don't code so they
end
up a little frustrated.
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
not so easy :( WallDistance = WallDistance * Cos(Abs(RayRadians - Player.Radians)) 'avoiding the Fish Effect RayHeight = (ObjectSize / WallDistance) * 200 '320 is the width screen If (RayHeight > 200) Then RayHeight = 200 A.ForeColor vbBlue A.DrawLine 475 + 50 + RayCounts, 200 / 2 - …
Re: VB6 - RayCasting: why my Vertical intersection is so big?
Programming
Software Development
2 Months Ago
by cambalinho
after several tests i fix it: Do While RayCounts < RayCount If (RayRadians > (2 * PI)) Then RayRadians = 0.001 i have more to update: 1 - win more performance\FPS; 2 - and trying avoid the 'on error resume next'(it's about the array dimensions): Private Sub DrawRays2() Dim AY As Double…
Re: Followed everything right ..what seems to be the issue now?
Programming
Software Development
12 Years Ago
by Momerath
…'m assuming you meant to put () on the
end
of
line
40.
Line
23 you attempt to call a method DisplayResults with… 3 parameters. But in
line
60 you incorrectly declare a method called DisplayResults. The …type, types don't carry over from other parameters.
Line
42 is an error because of the incorrect method …
Re: powfun() function - Help need
Programming
Software Development
16 Years Ago
by Ancient Dragon
…file. move the close brace on
line
20 down to the
end
of the function on
line
25 (after the return). Then remove… the open brace on
line
13 because …it is redundent. remove the semicolon at the
end
of
line
27.
line
29 is just flat out wrong. Delete it. What…
Re: seeking help please
Programming
Software Development
16 Years Ago
by Ancient Dragon
Line
53: T is uninitialized so its value is …You need to initialize it to some known value on
line
51. Using a while statement to read integers here…because the >> operator does not stop at
end
-of-
line
. Better solution is to call getline() to read …the rest of the
line
into a single string then parse the string to …
End-of-line Keystroke
Programming
Software Development
14 Years Ago
by Teethous
… I am have a problem with the
end
of
line
keystroke ( Ctrl+Z ) in the … name public String getCourseName () { return courseName; }//
end
of method //Determines class average public void inputGrades ()….", "To exit entry type the
end
-of-
line
input (Ctrl + z),then press enter &…
Re: End of Line/Newline Problem
Programming
Web Development
11 Years Ago
by EvolutionFallen
…pre>` isn't a one-off solution for getting
line
-breaks in your code. "The pre element represents …. * The PHP constant `PHP_EOL` should use the correct
End
Of
Line
character for a given platform. So it should do the…if you use it correctly. Example: <?php echo 'This
line
break ' . PHP_EOL . 'should work for non-HTML output'; ?&…
Help with End of Line character
Programming
Software Development
14 Years Ago
by Goalatio
… arguments, it fails to see that there is an
end
of
line
character. You pass arguments as.. INKEY a and it…'s happening though, I always try to comment on every
line
. [CODE][org 0100h] %include "Library.asm" [section…Advance ONE character in SI cmp al,0d ;Check if
End
of
Line
je INVALID ;If it is, exit with ERRORLEVEL 0…
Re: Help with End of Line character
Programming
Software Development
14 Years Ago
by NotNull
… a Carriage-Return character is at the
end
of the buffer lest the maximum count of…0D or 13 the Carriage Return is the
end
of
line
character. Read a byte from a string… array of bytes, in which every "
line
" of the file is suffixed by an… ending carriage return character, which indicates
end
of
line
. Thats why, "I am hated"…
tracing an end of line
Programming
Software Development
16 Years Ago
by cheesy_mel
… is type of whole number and fraction, and D marking
end
of input. i'm doing the input validation. if there… still read the misses input until no more input, ie.
end
of
line
, but do nothing to it. but this code seems… didn't work. is there any other way tracing the
end
of
line
instead of '\n'? regards, mel
How to detect end of line in C++?
Programming
Software Development
13 Years Ago
by saanda
…, for example to know how many are in each
line
? That's because in C++ there is no eoln… function, to detect
end
of
line
. My text file can be: 2.345 1 100…extra row, it reads a null string, in the
end
of my input file, so it converts it in …0 and writes this 0 in the
end
of my date.out, like this: 2.345 …
Stripping End-Of-Line characters from string
Programming
Software Development
12 Years Ago
by TheWolverine
…code to deal correctly with
end
-of-
line
(EOL) characters for Mac… in a map. [CODE] //! Strip
End
-Of-
Line
characters. void TextFileReader::stripEndOfLineCharacters( ) { //…( ); iteratorContainerOfDataFromFile_ != containerOfDataFromFile_.
end
( ); iteratorContainerOfDataFromFile_++ ) {…
Re: Stripping End-Of-Line characters from string
Programming
Software Development
12 Years Ago
by TheWolverine
[QUOTE=WaltP;1556770]Just test the
end
of the string for 0x0A and replace it with 0x00. … anyone has any other tips on how to strip
end
-of-
line
characters from strings read in from a text file using…
Re: detecting end of line with a file.
Programming
Software Development
15 Years Ago
by siddhant3s
When a file is opened is in Text Mode, the operating system's new-
line
character is auto-magically converted to the standard '\n'. >Not sure what MAC uses. BTW Mac uses "\r". "On unix systems, the standard
end
of
line
character is
line
feed ('\n')." source: [url]https://developer.mozilla.org/En/C___Portability_Guide[/url]
Re: detecting end of line with a file.
Programming
Software Development
15 Years Ago
by homeryansta
after fiddling with it, I also notice that it doesn't detect whitespace either. My program is suppose to find the sum of each
line
, so if i cannot detect the
end
of
line
, i cannot get it to work :(.
Re: unexpected end of line?
Programming
Software Development
11 Years Ago
by NormR1
> :Expected
end
of
line
, etc. but found identifier. Please post the full text of the error message that shows the source
line
where the error happened.
detecting end of line with a file.
Programming
Software Development
15 Years Ago
by homeryansta
[CODE=c++] inFile >> x; while(!inFile.eof()) { if(x == '\n') { cout << endl; } cout << x; inFile >> x; }[/CODE] will this code detect
end
of
line
? I'm having trouble with this. Can anyone help?
Re: detecting end of line with a file.
Programming
Software Development
15 Years Ago
by Ancient Dragon
[QUOTE=ithelp;815365]Sometime newline ends with ^M .[/QUOTE] Its not a matter of "sometimes". It either does, or it doesn't, depending on the operating system. '\n' translates into whatever the operating system uses as
end
-of-
line
. MS-Windows: "\r\n". *nix: "\r". Not sure what MAC uses.
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
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
© 2024 DaniWeb® LLC