Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tddd55-lab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDDD55 - Compilers and Interpreters
tddd55-lab
Merge requests
!4
Updates cpp 2023
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Updates cpp 2023
Updates-Cpp-2023
into
master
Overview
1
Commits
8
Pipelines
0
Changes
18
Merged
John Tinnerholm
requested to merge
Updates-Cpp-2023
into
master
1 year ago
Overview
1
Commits
8
Pipelines
0
Changes
18
Expand
I changed some things (See diff) to kill all the C++ warnings.
0
0
Merge request reports
Compare
master
version 2
dcbe338f
1 year ago
version 1
720c00cd
1 year ago
master (base)
and
latest version
latest version
3656286d
8 commits,
1 year ago
version 2
dcbe338f
7 commits,
1 year ago
version 1
720c00cd
4 commits,
1 year ago
18 files
+
453
−
416
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
Search (e.g. *.vue) (Ctrl+P)
lab1/test/code
0 → 100644
+
33
−
0
Options
/*
This test checks the fibonacci function
Author: John Tinnerholm
*/
declare
a : integer;
function fib (x : integer) : integer
begin
if x == 0 then
begin
return 0;
end
elseif x == 1 then
begin
return 1;
end
else
begin
return fib(x - 1) + fib(x-2);
end
if;
end;
begin
a := 0;
while a < 10 do
begin
putint(fib(a));
putline();
a := a + 1;
end
while;
end;
Loading